[Date Prev][Date Next]
(ITS#4913) configure & BerkleyDB
Full_Name: Fred Obermann
Submission from: (NULL) (188.8.131.52)
I just downloaded, built and installed openldap-2.3.34 using BerkeleyDB-4.5.20.
There seems to be a disconnect between where openldap-2.3.34 'configure' expects
db.h is and where Oracle's build procedure puts db.h.
For 4.5.20, db.h is located in "/usr/local/BerkeleyDB.4.5/include". Setting:
CPPFLAGS="I/usr/local/BerkeleyDB.4.5/include", prior to invoking 'configure'
does not seem to enable 'configure' to find 'db.h'. Providing soft link from
/usr/local/BerkeleyDB.4.5/include/db.h to /usr/include seems to fix this
Furthermore there seems to be a disconnect between the Oracle naming convention
for the BerkeleyDB libraries and what openldap's 'configure' utility seems to
LIBS=-L/usr/local/BerkeleyDB.4.5/lib prior to invoking 'configure'
But 'configure' is looking for libdb45.a or libdb-45.a or libdb4.5.a.
However, what the Oracle build procedure produces are: libdb-4.5.a
libdb-4.5.la libdb-4.5.so libdb-4.so libdb.a libdb.so
Creating a soft link from libdb-4.5.a to libdb45.a seems to fix this problem.
Nonetheless, it would be better if the 'configure' script were expanded to
gracefully handle this latest release of BerkeleyDB from Oracle.