Actions
Bug #6204
closedBug #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
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
System integration
Target version:
Pull Request:
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.
Added by Matthieu CERDA about 10 years ago
Added by Matthieu CERDA about 10 years ago
Merge pull request #607 from Kegeruneku/bug_6204/int/6204_revert_bdb_optimization
Fixes #6204: Do not try to be too smart during BDB/OpenLDAP configure st...
Added by Matthieu CERDA about 10 years ago
Fixes #6204: Do not try to be too smart during BDB/OpenLDAP configure step (attempt #2)
Actions
Fixes #6204: Do not try to be too smart during BDB/OpenLDAP configure step