Troubleshooting agent updater error while loading shared libraries: libz.so.1
This article helps troubleshoot an "error while loading shared libraries" while using the agent updater.
LAST TESTED ON CHECKMK 2.3.0P2
Table of Contents
Problem
When running cmk-update-agent on a Linux host, you might encounter the following error message:
cmk-update-agent: error while loading shared libraries: libz.so.1: failed to map segment from shared object
Solution
Remount the volume /tmp
on your host. The command to do so, could look like this:
root@myhost:~# mount /tmp -o remount,exec
Depending on the Linux you are using and the actual path of your /tmp volume, you might have to alter the command above.
Related articles