Date: 05/02/01
- Next message: Liz: "[PHP-DEV] RE: [PHP-QA] 4.0.6"
- Previous message: Troels Arvin: "Re: [PHP-DEV] 4.0.6"
- In reply to: Emiliano: "[PHP-DEV] maybe not a PHP library?"
- Next in thread: Emiliano: "Re: [PHP-DEV] maybe not a PHP library?"
- Reply: Emiliano: "Re: [PHP-DEV] maybe not a PHP library?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 2 May 2001, Emiliano wrote:
> I'm trying to create a minimal module to do some debugging work, but it
> fails to load. I essentially used ext_skel to create an fresh extension,
> moved it out of the PHP tree, then did:
>
> $ phpize
> $ ./configure --enable-apdebug
> $ make
> # make install
>
> The extension is generated OK AFAICT, but it lacks the symbol
> get_module, which gets me 'PHP Warning: Invalid library (maybe not a
> PHP library) 'apdebug.so' in Unknown on line 0' in my error log.
>
> Any ideas, anyone? Using Apache 1.3.19 and 4.0.4.5rc6 on Debian sid.
Yes. This known bug for self contained extensions when config.h isn't read
by php_apdebug.c so HAVE_APDEBUG and COMPILE_DL_APDEBUG aren't defined.
Try to do bizzare thing;
CFLAGS="$CFLAGS -DHAVE_APDEBUG=1 -DCOMPILE_DL_APDEBUG=1" ./configure --with-apdebug
-- 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 -- Getting into trouble is easy. -- D. Winkel and F. Prosser-- 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: Liz: "[PHP-DEV] RE: [PHP-QA] 4.0.6"
- Previous message: Troels Arvin: "Re: [PHP-DEV] 4.0.6"
- In reply to: Emiliano: "[PHP-DEV] maybe not a PHP library?"
- Next in thread: Emiliano: "Re: [PHP-DEV] maybe not a PHP library?"
- Reply: Emiliano: "Re: [PHP-DEV] maybe not a PHP library?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

