On Fri, 4 May 2001, Denis Gasparin wrote:
> I'm trying to create a new external module for PHP called acme. I used
> the
> ext_skel script to create the module directory and skeleton and then
> modified the config.m4 as indicated in that file. Then I moved to the
> created acme directory, issued the phpize command, configure and make.
> The
> compilation worked well and i found in ext/acme/modules the library
> acme.so. I installed in my PHP extension dir and the used the dl php
> command to load the module but php has given me this error:
> Warning:  Invalid library (maybe not a PHP library) 'acme.so'  in
> /u/WEB/www.testtest.it/denis/index.php on line 4
> Why does it give me this error?
Currently phpize is not well working without following ugly
sequence to build extension:

CFLAGS="$CFLAGS -DHAVE_ACME=1 -DCOMPILE_DL_ACME=1" configure --with-acme
make install

Sincerely yours, Alexander Bokovoy
  The Midgard Project   | www.midgard-project.org | ALT Linux Team
Minsk Linux Users Group |    www.minsk-lug.net    | www.altlinux.ru
-- Better hope you get what you want before you stop wanting it.

PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to