Date: 05/04/01
- Next message: Stig Sæther Bakken: "Re: [PHP-DEV] Classes & function names"
- Previous message: Andi Gutmans: "[PHP-DEV] buildcheck.sh & libtool check"
- In reply to: Denis Gasparin: "[PHP-DEV] Creation of a new external module"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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:
phpize
CFLAGS="$CFLAGS -DHAVE_ACME=1 -DCOMPILE_DL_ACME=1" configure --with-acme
make
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: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Stig Sæther Bakken: "Re: [PHP-DEV] Classes & function names"
- Previous message: Andi Gutmans: "[PHP-DEV] buildcheck.sh & libtool check"
- In reply to: Denis Gasparin: "[PHP-DEV] Creation of a new external module"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

