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

Re: db insanity.

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-09-07 20:41:28 CEST

OK, so here's the answer to my build problems.

The FreeBSD problem *did* turn out to be similar to the whole 'edit
/etc/ld.so.conf' issue, if one were using Linux.

The run-time linker only searches for library dependencies in paths
from a 'hints' file (/var/run/ld-elf.so.hints.*) created at boot time
by the /etc/rc script. The variable 'ldconfig_paths' defaults to a
very short list in /etc/defaults/rc.conf, and these are the paths
passed to 'ldconfig' at boot time. Luckily, this variable can be
overridden at boot-time (like all boot variables) by adding it to
/etc/rc.conf.

Also, for immediate gratification, you can rebuild the ld hints file
(and append to it) like this:

  'ldconfig -R /usr/local/BerkeleyDB.3.3'

So, I learn something about BSD every day. :-)

The real issue is: I didn't intstall DB 3.3 from an official "port",
so perhaps that's why the installation path was never made known to
rld.

Phew.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:40 2006

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.