error loading php_gtk2.so
| From: | sent by Nabble.com) | Date: | Sun, 29 Jan 2006 10:19:54 +0000 |
| Subject: | error loading php_gtk2.so | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-6590@lists.php.net to get a copy of this message | ||
After installing, the terminal window echoed out: Installing shared extensions:
/wwwroot/php/lib/php/extensions/no-debug-non-z
ts-20050922/
To double check i did a locate for php_gtk and found:
/wwwroot/php/lib/php/extensions/no-debug-non-zts-20050922/php_gtk2.so
In my source I wrote:
if ( !class_exists('gtk') )
{
if ( strtoupper(substr(PHP_OS, 0, 3)) == 'WIN' )
dl('php_gtk2.dll');
else
dl('wwwroot/php/lib/php/extensions/no-debug-non-zts-20050922/php_gtk2.so');
}
I run the php script by typing in php container.php and recieve the following error:
PHP Warning: dl(): Unable to load dynamic library
'./wwwroot/php/lib/php/extensions/no-debug-non-zts-20050922/php_gtk2.so' -
./wwwroot/php/lib/php/extensions/no-debug-non-zts-20050922/php_gtk2.so: cannot open shared object
file: No such file or directory in /home/dottedquad/Desktop/php-gtk/office/container.php on line 9
I did a locate and found php_gtk2.so in that directory. I compiled this by hand on openSuSE. How
would I fix this issue?
-Thanks
--
View this message in context: http://www.nabble.com/error-loading-php_gtk2.so-t1019739.html#a2644020
Sent from the Php - GTK - General forum at Nabble.com.