GD Shared library confusion

From: Date: Sat, 02 Mar 2002 15:56:30 +0000
Subject: GD Shared library confusion
Groups: php.dev 
Request: Send a blank email to php-dev+get-80605@lists.php.net to get a copy of this message
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. This is going to cause all sorts of questions about GD in 4.2, I think. -Rasmus

« previous php.dev (#80605) next »