Actions
Bug #5020
closedUser 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"
Pull Request:
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