Project

General

Profile

Actions

Bug #6204

closed

Bug #5741: Upgrading rudder-inventory-ldap between two major OS versions makes slapd unable to operate because of BerkeleyDB (backport)

Debian builds fails due to a BDB bundling optimization

Added by Matthieu CERDA about 9 years ago. Updated over 8 years ago.

Status:
Released
Priority:
1
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

We used to have on 3.0:

export LD_LIBRARY_PATH="/opt/rudder/lib" ; CPPFLAGS="-I/opt/rudder/include" ; export LDFLAGS="-L/opt/rudder/lib" ; export LIBS="-L/opt/rudder/lib" ; cd 
SOURCES/openldap-source && ./configure --prefix=/opt/rudder --libdir=/opt/rudder/lib/ldap --enable-dynamic --enable-debug --enable-modules --enable-hdb=mod 
--enable-monitor=mod --enable-dynlist=mod --with-cyrus-sasl

We tried to remove the exports and use this instead:

cd SOURCES/openldap-source && LD_LIBRARY_PATH="/opt/rudder/lib" CPPFLAGS="-I/opt/rudder/include" LDFLAGS="-L/opt/rudder/lib" LIBS="-L/opt/rudder/lib" ./configure 
--prefix=/opt/rudder --libdir=/opt/rudder/lib/ldap --enable-dynamic --enable-debug --enable-modules --enable-hdb=mod --enable-monitor=mod --enable-dynlist=mod 
--with-cyrus-sasl

But the configure fails, not finding BDB :(

Time to be a little more intelligent by specifying where you can find the BDB headers.

Actions

Also available in: Atom PDF