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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to