Project

General

Profile

Bug #6224

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 over 3 years ago. Updated over 3 years ago.

Status:
Released
Priority:
1
Category:
System integration
Target version:
Target version (plugin):
Severity:
User visibility:
Effort required:
Priority:

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" 

Associated revisions

Revision 5adf9065 (diff)
Added by Matthieu CERDA over 3 years ago

Fixes #6224: Use the right LD_LIBRARY_PATH during OpenLDAP compilation on Debian

Revision dfe61327
Added by Matthieu CERDA over 3 years ago

Merge pull request #613 from Kegeruneku/bug_5741/int/6224_use_the_right_ld_library_path_on_debian_slapd_compilation

Fixes #6224: Use the right LD_LIBRARY_PATH during OpenLDAP compilation o...

History

#1 Updated by Matthieu CERDA over 3 years ago

  • Parent task changed from #6215 to #5741

#2 Updated by Matthieu CERDA over 3 years ago

  • Description updated (diff)

#3 Updated by Matthieu CERDA over 3 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Matthieu CERDA to Benoît PECCATTE
  • % Done changed from 0 to 100
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/613

#4 Updated by Matthieu CERDA over 3 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset packages:rudder-packages|commit:5adf9065004db23c155708ffa5f5c98e32d8fab1.

#5 Updated by Matthieu CERDA over 3 years ago

Applied in changeset packages:rudder-packages|commit:dfe61327ea04c82745f6160901f3ef9dbec2e6f1.

#6 Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 2.10.10 to 2.10.9

#7 Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 2.10.9 to 2.10.10

#8 Updated by Vincent MEMBRÉ over 3 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.10 and 2.11.7, which were these days.

Also available in: Atom PDF