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

Re: Solaris8 build fails to link with -ldb

From: mark benedetto king <mbk_at_lowlatency.com>
Date: 2003-09-12 19:34:19 CEST

On Sat, Sep 13, 2003 at 01:29:25AM +1000, Anthony Baxter wrote:
> >>> "Sander Striker" wrote
> > LDFLAGS=-R/opt/local/BerkeleyDB4/lib; export LDFLAGS
> > ./configure ...
> >
> > That's usually how it's done. I would like to add the -R flags,
> > but I'm not sure if that is going to fly with everyone.
> I can't see why not - if you specify that the berkeley libs are in
> a particular directory, surely the whole build process should "make
> this work"...

There is a camp that believes that /etc/ld.so.conf is the place
for this sort of thing, rather than in the executables themselves.

On a related note: we recently had a linux RPM that tried to
access /home/david/..., because the packaging was done in that
directory. It gracefully handled the failure and found the libraries
elsewhere, though. No problem?

Well, IIRC, someone using automounted home directories had a problem.

It could have been worse: imagine that a nefarious David on the same
machine noticed the broken embedded rpath info in the svn executable
and decided to put doctored versions of the shared libraries in his
home directory?


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 12 19:35:37 2003

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

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