> I'm trying to install DB_File on our Red-Hat Linux. 7.1 box and am
> getting an error about having 2 versions of BerkeleyDB installed.
> The log of the installation follows. Any help would be appreciated.
> 

This problem is easy to fix.

1) get and install BerkeleyDB-4.0

2) Re-install your DB_File-1.8.xx distribution (or later), set
the variables for INCLUDE and LIB in the config.in file to point to 
the BerkeleyDB 4.0 distribution

3) at the beginning of your httpsdctl or apachectl start file
include the following lines.

# fix up problem with C-lib database
export LD_PRELOAD=/usr/local/BerkeleyDB.4.0/lib/libdb.so

That's it....
Michael Robinton
BizSystems
4600 El Camino Real - Suite 206
Los Altos, CA 94022
Tel: 650 947-3351
Fax: 650 947-3356
[EMAIL PROTECTED]

Reply via email to