Re: GD Shared library confusion

From: Date: Sat, 02 Mar 2002 16:05:35 +0000
Subject: Re: GD Shared library confusion
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-80606@lists.php.net to get a copy of this message
At 07:56 AM 3/2/2002 -0800, Rasmus Lerdorf wrote:
Ok, so the situation is this: --with-gd=/some/dir This will go through and do configure checks to figure out which version of GD live in /some/dir. Say a static libgd.a built from gd-2.0.1 is sitting in there. 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. Andi
This is going to cause all sorts of questions about GD in 4.2, I think. -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.dev (#80606) next »