Re: PHP Warning: dl(): Invalid library (maybe not a PHP library) 'php_gtk2.so'
| From: | Ivan Rodriguez | Date: | Mon, 07 Mar 2005 07:09:54 +0000 |
| Subject: | Re: PHP Warning: dl(): Invalid library (maybe not a PHP library) 'php_gtk2.so' | ||
| References: | 1 2 3 4 5 6 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5593@lists.php.net to get a copy of this message | ||
I do this and compile perfect :-)
On Fri, 4 Mar 2005 09:56:23 -0800, Andrei Zmievski
<andrei@gravitonic.com> wrote:
> 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
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>