[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpm 3.0.6 Sorry rpm requires db-1.85 API



Please can somebody possibly spend a few moments to look over the following. I am sure its not that involved if somebody has previous  experience in the area
All replies received gratefully

I am getting following error which seems to be to do with the berekely database when I run ./configure from the rpm directory

checking for dbopen... no
checking for dbopen in -ldb1... no
checking for dbopen in -ldb... no
configure: error: sorry rpm requires a db-1.85 API

I am using a 2.7.7 (which should apparantly be ok) berekely database and I build as directed in rpm install document

 Cd build_unix
        ../dist/configure --enable-compat185
        make
        make install

The database is installed in the /usr directory and I set following which I believe is correct.

LIBS='-L/usr/local/BerkeleyDB/lib/'
CPPFLAGS='-I/usr/local/BerkeleyDB/include'
        export LIBS CPPFLAGS
        ./configure

There is one thing I find strange (althought not coming from a programming background I maybe wrong) there are no actual binaries for dbopen just dbload and dbsat and some others also.

Thanks Myles


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []