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

APR-UTIL and BerkeleyDB Configuration

From: Luke Perkins <lperkins_at_linear.com>
Date: 2006-09-26 18:33:02 CEST

If you are having problems performing ./configure recognizing BerkeleyDB,
here is a solution to a common problem.

The BerkeleyDB is first referenced in the subversion configure operation
within the APR-UTIL dependency. So if you can successfully configure, make,
and install the APR-UTIL, the --with-berkeley-db option will work at the
subversion configuration level.

This memo has been placed in the "users" mailing list archive to help poor
souls, like me, who stay up well past bed-time banging their heads against
the wall trying to get subversion built.

SUSE 9.3
--------

After making and installing BerkeleyDB, you need to create a one line
file. This file needs to be located at:

/etc/ld.so.conf.d/BerkeleyDB.conf

This file needs to contain one line of information, namely, the path
to your newly installed BerkeleyDB.

/usr/local/BerkeleyDB.4.4/lib

After you construct this file, you will need to run the following
command as root:

/sbin/ldconfig -v

The -v option is the "verbose" option. Make sure your BerkeleyDB
libraries are loaded into the system memory by reviewing the log
messages going to stdout from ldconfig.

The ldconfig message does not directly read files in /etc/ld.so.conf.d .
There is a file (that you should not modify) called /etc/ld.so.conf . Within
this file is a line "include /etc/ld.so.conf.d/*.conf" which tells ldconfig
to read all .conf files in the /etc/ld.so.conf.d directory.

OTHER OS
--------

I can only speak for SUSE Linux 9.3 since that is what is on my machine. I
would suspect other Linux OS would have similar schemes.

Luke Perkins

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 26 18:34:15 2006

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.