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

Re: Building Apache & mod_dav_svn

From: Marcus Comstedt <marcus_at_mc.pp.se>
Date: 2002-07-22 19:02:22 CEST

Ben Collins-Sussman <sussman@collab.net> writes:

> I was the original instigator of the paranoia.
> It turns out that on freebsd, the LD_LIBRARY_PATH variable takes
> precedence over the default runtime-linker search locations, which is
> *totally* broken IMO.

Quite the opposite. LD_LIBRARY_PATH should only be used to override
the compiled-in run path, so this is the correct behaviour. Normally
LD_LIBRARY_PATH shouldn't be set at all. Solaris has the same
behaviour and it works great.

> I happen to set LD_LIBRARY_PATH=/usr/local/lib in my .bash_profile, so

Which is stupid. Programs that use libs in /usr/local/lib should have
/usr/local/lib in their runpath. To ensure that all apps you link
have /usr/local/lib in their runpath, set LD_RUN_PATH to
/usr/local/lib in your profile instead.

  // Marcus

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 22 19:08:58 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.