[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Should we encourage --disable-shared?

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-09-17 23:43:23 CEST

On Tue, Sep 17, 2002 at 05:19:09PM -0400, Greg Hudson wrote:
> On Mon, 2002-09-16 at 17:54, Greg Stein wrote:
> > Sure. 'make check' works regardless of how you build. Ben was doing it all
> > the time before he discovered that an LD_LIBRARY_PATH was monkeying up his
> > shared build.
> On Linux and some other systems (not Solaris), run paths in the binary
> override LD_LIBRARY_PATH. So until you install, the binaries will (I
> think) choose previously installed libraries over the ones in the build
> tree. "make check" should work if you've never installed Subversion
> before, though.

This is part of the "libtool magic" and why it relinks at install time. The
binaries' rpaths point to the build area for things in the build area. When
you install, then a relink is done to repoint the binaries to the install

(that's the theory; examples to the contrary are welcome -- I'd like to fix
 my understanding if it isn't right :-)

Note that the LD_LIBRARY_PATH problem that Ben saw was on FreeBSD.


Greg Stein, http://www.lyra.org/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 17 23:44:32 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.