[Freeciv-Dev] Re: problem with 11.4
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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/ |
pgpeMsUJJ9PVh.pgp
Description: PGP signature
- [Freeciv-Dev] problem with 11.4, Paul Dean, 2000/07/21
- [Freeciv-Dev] Re: problem with 11.4, Kero van Gelder, 2000/07/21
- [Freeciv-Dev] Re: problem with 11.4, Thue, 2000/07/21
- [Freeciv-Dev] Re: problem with 11.4, Paul Dean, 2000/07/21
- [Freeciv-Dev] Re: problem with 11.4, Thue, 2000/07/21
- [Freeciv-Dev] Re: problem with 11.4, Jeff Mallatt, 2000/07/21
- [Freeciv-Dev] Re: problem with 11.4, Paul Dean, 2000/07/21
- [Freeciv-Dev] Re: problem with 11.4, Gerhard Killesreiter, 2000/07/21
- [Freeciv-Dev] Re: problem with 11.4, Paul Dean, 2000/07/21
- [Freeciv-Dev] Re: problem with 11.4, Reinier Post, 2000/07/25
- [Freeciv-Dev] Re: problem with 11.4,
Greg Wooledge <=
[Freeciv-Dev] Re: problem with 11.4, Reinier Post, 2000/07/21
|
|