[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to use libraries in /usr/local
From: |
Lars Hecking |
Subject: |
Re: how to use libraries in /usr/local |
Date: |
Sat, 26 May 2001 15:17:07 +0100 |
User-agent: |
Mutt/1.3.18i |
> > See my followup message. That doesn't take care of shared libraries
> > across multiple platforms, for one. (That's the really major thing that
> > it doesn't take care of, but there are others.)
>
> I would argue that if a shared library has been properly installed, the
> runtime linker should know where to find it (e.g. via /etc/ld.so.conf or
> LD_LIBRARY_PATH, or...).
Solaris < 8 has no ld.so config file. If you install libraries outside
/lib or /usr/lib, which would be the case for most packages you compile
yourself, you must supply the correct linker options via LDFLAGS.
LD_LIBRARY_PATH is a horrible crutch. Don't use it, use either -rpath/-R
or the equivalent link time environment vars like LD_RUN_PATH.
- Re: how to use libraries in /usr/local, (continued)
Re: how to use libraries in /usr/local, Steven G. Johnson, 2001/05/24
Re: how to use libraries in /usr/local, Steven G. Johnson, 2001/05/25
- Re: how to use libraries in /usr/local,
Lars Hecking <=