July 11th, 2005, 09:36 PM
LDAP - Not my new best friend.
I'm trying to get openLDAP to build on the latest version of Mandriva Linux. My problem is during configuration it gives me the the following error:
"configure: error: BDB/HDB: BerkeleyDB not available"
I went to http://www.sleepycat.com and downloaded the latest and greatest version of Berkeley DB and installed it without a hitch, however it still gives me the same error. I was wondering if someone has recently gone through something like this and knows how to get the configuration script to recognize the installation in '/usr/local/BerkeleyDB.4.3'.
Eventually I want to get this running with a SQL backend, but when I try to drop the Berkeley DB and install SQL as my DB, it says it can't find my SQL libraries. So, if anyone has any insight, I'd appreciate any input.
July 12th, 2005, 05:57 PM
I found a resolution. Using the information found at http://www.openldap.org/faq/index.cg...eley&file=1095 I made a couple changes to accomodate my environment.
--- My script ---
env CPPFLAGS="-I/usr/local/BerkeleyDB.4.3/include -I/usr/local/ssl/include/openssl" \
LDFLAGS="-L/usr/local/lib -L/usr/local/BerkeleyDB.4.3/lib -L/usr/local/ssl/lib -R/usr/local/lib -R/usr/local/BerkeleyDB.4.3/lib -R/usr/local/ssl/lib" \
Oh, and technically I'm using Mandriva Linux, not Mandrake.
July 12th, 2005, 06:15 PM