At 08:03 AM 3/2/2002 -0800, Rasmus Lerdorf wrote: > > >If the system also has a /usr/lib/libgd.so then as of 4.2.0 the -lgd is > > >picking up this shared library. > > > > > >I suppose the only way around this is to use a full path to the static > > >library in the link line instead of -lgd. Does a full path library link > > >work for a shared library as well? I didn't think it did. > > > > Nope it doesn't but you can use -L/path/to/shared_lib and then -lgd. > >I don't think a -L/path is going to override the LD_LIBRARY_PATH though >for a shared library.
No it doesn't for loading. I thought you were talking about the build itself. I think there's a way to embed the actual LD_LIBRARY_PATH in the binary but I forgot how :) Andi -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php