[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Nonstandard lib location & LD_RUN_PATH
From: |
Brian C. Hill |
Subject: |
Re: Nonstandard lib location & LD_RUN_PATH |
Date: |
Mon, 28 Nov 2005 22:12:21 -0800 |
User-agent: |
Mutt/1.4.2.1i |
Right.
./configure ...
LD_RUN_PATH=<path_to_libs> make
... does exactly what you want.
For example,
I install all third-party software that I have to build in
/usr/pkg/<software>. I symbolically link all of that stuff to
/usr/local (e.g. /usr/local/sbin/cfrun ->
/usr/pkg/cfengine/sbin/cfrun).
Most of my make steps are:
LD_RUN_PATH=/usr/local/lib make
No LD_LIBRARY_PATH needed.
Brian
======================================================================
On Mon, Nov 28, 2005 at 11:21:23PM -0500, Jason Martin wrote:
> LD_LIBRARY_PATH only affects runtime; since I can't set that
> value on all the clients, I instead need to have the binary look
> in the correct location inherently.
>
> -Jason Martin
>
> On Mon, Nov 28, 2005 at 08:17:32PM -0800, Brian C. Hill wrote:
> > LD_RUN_PATH works for at least both Linux and SunOS 5 (Solaris 2),
> > since -R<path> isn't a Linux ld directive.
> >
> > Brian
> > ======================================================================
> > On Mon, Nov 28, 2005 at 05:01:38PM -0800, David Masterson wrote:
> > > It would seem that the most crossplatform standard way would be to set
> > > LD_LIBRARY_PATH in configure.ac during the processing to search for the
> > > BerkeleyDB library.
> > > --
> > > David Masterson
> > > Palo Alto, CA
> >
> >
> > _______________________________________________
> > Help-cfengine mailing list
> > Help-cfengine@gnu.org
> > http://lists.gnu.org/mailman/listinfo/help-cfengine
>
> --
> A Shower is the halfway point between Bed and World.
> This message is PGP/MIME signed.
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine
--
_____________________________________________________________________
/ Brian C. Hill bchill@bch.net http://brian.bch.net \
| UNIX Specialist BCH Technical Services http://www.bch.net |
- Nonstandard lib location & LD_RUN_PATH, Martin, Jason H, 2005/11/28
- RE: Nonstandard lib location & LD_RUN_PATH, Martin, Jason H, 2005/11/29
- RE: Nonstandard lib location & LD_RUN_PATH, David Masterson, 2005/11/29
- RE: Nonstandard lib location & LD_RUN_PATH, Martin, Jason H, 2005/11/29
- RE: Nonstandard lib location & LD_RUN_PATH, David Masterson, 2005/11/29
- RE: Nonstandard lib location & LD_RUN_PATH, David Masterson, 2005/11/30