Project

General

Profile

Actions

Bug #6224

closed

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

Fix LD_LIBRARY_PATH during rudder-inventory-ldap compilation on Debian

Added by Matthieu CERDA about 9 years ago. Updated about 9 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

On Debian, we build slapd using these environment variables:

LD_LIBRARY_PATH="/opt/rudder/lib" 

This is wrong, /opt/rudder/lib at compile time contains no libdb... it makes the OpenLDAP ./configure BDB header/lib version match check fail (not beeing able to find libdb-5.1.so

It should be:

LD_LIBRARY_PATH="$(CURDIR)/debian/tmp/opt/rudder/lib" 

Actions

Also available in: Atom PDF