Berkeley DB Problem Configuring rpm

Ian Lake ian.lake at
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" 

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 


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Rpm-list mailing list