Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2000:
[Freeciv-Dev] Re: problem with 11.4
Home

[Freeciv-Dev] Re: problem with 11.4

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: problem with 11.4
From: Greg Wooledge <wooledge@xxxxxxxxxxx>
Date: Fri, 21 Jul 2000 09:32:24 -0400

Thue (thue@xxxxxxx) wrote:

> So your solaris machine haven't got libz, but yet ./configure finds it and
> gcc links against it! (well, obviously it doesn't really link against it)

Under Solaris, it's quite possible to link against a library that the
program (or rather, ld.so) can't find at runtime.

If you link to a library in, say, /usr/local/lib under Linux, all you need
to use is "-L/usr/local/lib -lfoo".  But under Solaris, you also need to
use "-R/usr/local/lib", unless /usr/local/lib is in your LD_LIBRARY_PATH.

-- 
Greg Wooledge                    | "Truth belongs to everybody."
wooledge@xxxxxxxxxxx             |   Red Hot Chili Peppers
http://www.kellnet.com/wooledge/ |

Attachment: pgpeMsUJJ9PVh.pgp
Description: PGP signature


[Prev in Thread] Current Thread [Next in Thread]