Re: Close but no go.

From: Date: Thu, 17 May 2001 13:16:49 +0000
Subject: Re: Close but no go.
References: 1 2  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1862@lists.php.net to get a copy of this message
On Thu, 17 May 2001, Kevin wrote: > The best I can tell, the linker isn't bringing in the gtk libs (in fact, > it doesn't bring lin libgdk, libgtk, or libglade) when it loads the > php-gtk extension. The reason is clear: > > $ ldd php_gtk.so > libc.so.6 => /lib/libc.so.6 (0x4007e000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000) > (Note you may have to set LD_LIBRARY_PATH for this to work) > > What is not clear is why php_gtk.so is not linked against these > libraries properly. > > As a temporary solution, you can use LD_PRELOAD thus: > > export > LD_PRELOAD='/usr/lib/libgtk.so:/usr/lib/libgdk.so:/usr/lib/libglade.so' > > but a better solution would be to fix how php_gtk.so is built. I'll let > you know if I figure out how it should be. You are the first one to have reported this problem -- obviously, it's been working for quite a number of people. What platform are you on? -Andrei Give a man a fish; you have fed him for today. Teach a man to use the Net and he won't bother you for weeks. -Author unknown

« previous php.gtk (#1862) next »