Re: compiles fine - doesn't run though
| From: | Joe Stump | Date: | Wed, 14 Mar 2001 06:29:23 +0000 |
| Subject: | Re: compiles fine - doesn't run though | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-840@lists.php.net to get a copy of this message | ||
The below output is with an absolute path - I tried fidling with it - here is
what the default program yields.
vivian:/usr/local/src/php-gtk/test# php -q hello.php
<br>
<b>Warning</b>: Unable to load dynamic library './php_gtk.so' - ./php_gtk.so:
cannot open shared object file: No such file or directory in <b>hello.php</b> on line
<b>6</b><br>
<br>
<b>Fatal error</b>: Cannot instantiate non-existent class: gtkwindow in
<b>hello.php</b> on line <b>40</b><br>
--Joe
On Tue, Mar 13, 2001 at 10:26:37PM -0800, Joe Stump wrote:
> I'm running the latest version of Debian with all the correct libs. PHP with GTK
> compiled just great. php -v yields "4.0.5-dev" or the latest CVS version as of
> a few days ago when I compiled. But when I run a test program I get this:
>
> vivian:/usr/local/src/php-gtk/test# php -q hello.php
> <br>
> <b>Warning</b>: Unable to load dynamic library
> '/usr/local/lib/php/extensions/no-debug-non-zts-20001222//usr/local/lib/php/extentions/no-debug-non-zts-20001222/php_gtk.so'
> -
> /usr/local/lib/php/extensions/no-debug-non-zts-20001222//usr/local/lib/php/extentions/no-debug-non-zts-20001222/php_gtk.so:
> cannot open shared object file: No such file or directory in <b>hello.php</b> on line
> <b>6</b><br>
> <br>
> <b>Fatal error</b>: Cannot instantiate non-existent class: gtkwindow in
> <b>hello.php</b> on line <b>40</b><br>
>
> Which would lead me to believe there is a serious problem trying to load the
> library. php_gtk.so is in the directory stated above ... I'm lost.
>
> Any help would be great!
>
> --Joe
>
>
> --
>
> -------------------------------------------------------------------------------
> Joe Stump, PHP Hacker, joestump98@yahoo.com -o)
> http://www.geekshare.com http://www.care2.com
> http://www.miester.org /\\
> "Those who can, create. Those who can't, complain." _\_V
> -------------------------------------------------------------------------------
>
>
> --
> PHP GTK Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
> For additional commands, e-mail: php-gtk-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
--
-------------------------------------------------------------------------------
Joe Stump, PHP Hacker, joestump98@yahoo.com -o)
http://www.geekshare.com http://www.care2.com http://www.miester.org /\\
"Those who can, create. Those who can't, complain." _\_V
-------------------------------------------------------------------------------