[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Nonstandard lib location & LD_RUN_PATH
From: |
Brendan Strejcek |
Subject: |
Re: Nonstandard lib location & LD_RUN_PATH |
Date: |
Tue, 29 Nov 2005 08:12:04 -0600 |
User-agent: |
Mutt/1.5.6+20040818i |
Another solution is static linking.
To end up with static binaries, run:
LDFLAGS=-static; export LDFLAGS
prior to "configure". Not sure how cross-platform that is...
Best,
Brendan
--
Senior System Administrator
The University of Chicago
Department of Computer Science
http://www.cs.uchicago.edu/people/brendan
http://people.cs.uchicago.edu/~brendan
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
> > > VMware, Inc.
> > > 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
- 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