Re: GD Shared library confusion

From: Date: Sat, 02 Mar 2002 16:03:28 +0000
Subject: Re: GD Shared library confusion
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-80607@lists.php.net to get a copy of this message
> >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

« previous php.dev (#80607) next »