Re: [PHP-GTK] problem loading php_gtk.so

[email protected] (Andrei Zmievski) Tue, 14 Aug 2001 07:58:13 -0500
Newsgroups php.gtk
Message-ID <[email protected]>
Run php -i and search for extension_dir and see what it's set to. That's
where PHP is trying to load it from. You are probably trying to load it
using a version of PHP different from the one installed in /usr/local on
your machine.

On Mon, 13 Aug 2001, Daniel Adams wrote:
> I know this is a little off topic but my brain is dead and I can't really
> think of how to fix this.  I had been using phpgtk 0.0.4 up till today
> just fine.  I downloaded v. 0.1 from the site and did the following:
> 
> ./configure --prefix=/usr/local
> make
> make install
> 
> everything seemed to go just fine.  When I tried to run a script i'm
> working on (which I KNOW runs) I get a php error saying this:
> 
>  Unable to load dynamic library './php_gtk.so' - ./php_gtk.so: cannot open
> shared object file: No such file or directory
> 
> So I think it just can't find the file because it isn't in the path or
> something so I switch to root and run ldconfig. no luck. i tried adding
> the dir holding the .so to LD_LIBRARY_PATH and running ldconfig again but
> it didn't work.  I'm out of ideas so here is some info to help:
> 
> [danno@studio2 phptask]$ ls -l
> /usr/local/lib/php/extensions/no-debug-non-zts-20001222
> total 1344
> -rwxrwxr-x    1 root     root      1369358 Aug 13 17:23 php_gtk.so
> 
> [danno@studio2 phptask]$ echo $LD_LIBRARY_PATH
> /usr/lib:/usr/local/lib:/usr/local/qt/lib:
> :/usr/local/lib/php/extensions/no-debug-non-zts-20001222
> 
> Thanks for helping me on this one.
> 	- Dan
> 
> -- 
> 
> 
> -- 
> PHP GTK Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> To contact the list administrators, e-mail: [email protected]



-Andrei
* Software never has bugs. It just develops random features. *