> >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. -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php