Project

General

Profile

Actions

Bug #5020

closed

User story #4798: Upgrade to CFEngine 3.6 in rudder-agent

Debian/Ubuntu: cf-key fails in postinst with "liblmdb.so: cannot open shared object file"

Added by Jonathan CLARKE over 10 years ago. Updated over 9 years ago.

Status:
Released
Priority:
2
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

During post install of rudder-agent package on a Ubuntu 12.10 node I got:

/var/rudder/cfengine-community/bin/cf-key: error while loading shared libraries: liblmdb.so: cannot open shared object file: No such file or directory

I figured this out reading the postinst, which is basically:

    /var/rudder/cfengine-community/bin/cf-key

    # Reload the linker cache (to acknowledge LMDB's presence if needed)
    if [ -e /etc/ld.so.conf.d/rudder.conf ]; then ldconfig; fi

The reload should come before using the program!

Actions

Also available in: Atom PDF