problem loading php_gtk.so

[email protected] (Daniel Adams) Mon, 13 Aug 2001 18:00:02 -0400 (EDT)
Newsgroups php.gtk
Message-ID <[email protected]>
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

--