Re: PHP Warning: dl(): Invalid library (maybe not a PHP library) 'php_gtk2.so'
| From: | Andrei Zmievski | Date: | Fri, 04 Mar 2005 17:56:23 +0000 |
| Subject: | Re: PHP Warning: dl(): Invalid library (maybe not a PHP library) 'php_gtk2.so' | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5585@lists.php.net to get a copy of this message | ||
On Fri, 04 Mar 2005, Scott Mattocks wrote:
> No DEBUG. Here is the output...
>
> [scott@localhost GUI]$ php -v
> PHP 5.0.3 (cli) (built: Mar 2 2005 17:45:01)
> Copyright (c) 1997-2004 The PHP Group
> Zend Engine v2.0.3, Copyright (c) 1998-2004 Zend Technologies
>
>
> [scott@localhost GUI]$ locate php_gtk2.so
> /home/scott/src/php-gtk2/modules/php_gtk2.so
> /home/scott/src/php-gtk2/.libs/php_gtk2.so
> /usr/local/lib/php/extensions/no-debug-non-zts-20041030/php_gtk2.so
I forgot to commit the fix yesterday, but look in main/php_gtk.c for
this line:
#ifdef COMPILE_DL_PHP_GTK
and change it to have '2' at the end. That should help.
- Andrei