Berkeley DB Problem Configuring rpm

Ian Lake ian.lake at rocketmail.com
Mon Oct 22 18:02:28 UTC 2012


Hello - 

I am trying to build rpm-4.8.0 on Centos-6.3.

I use this command to configure:
./configure --with-python=2.7 --with-db=internal --enable-static=no 
CPPFLAGS="-I/usr/include/nspr4 -I/usr/include/nss3 
-I/usr/local/BerkeleyDB.5.3/include" LDFLAGS="-L/usr/local/BerkeleyDB.5.3/lib" 
LLIBDIR="/usr/local/BerkeleyDB.5.3/lib" 
LD_LIBRARY_PATH="/usr/local/BerkeleyDB.5.3/lib"

and end up with this error:
configure: error: internal Berkeley DB directory not present, see INSTALL

I downloaded and installed Berkeley DB 5.3.-21.  The libraries were installed at 

/usr/local/BerkeleyDB.5.3/lib

Any idea on how to fix the error?  Am I just doing something wrong with the 
configure options?

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20121022/6ed6d711/attachment.html>


More information about the Rpm-list mailing list