[root@ ~]# /usr/local/nagios/libexec/check_tcp -H 127.0.0.1 80
/usr/local/nagios/libexec/check_tcp: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory
关联库文件:发现libssl.so.6 => not found和libcrypto.so.6 => not found
ldd /usr/local/nagios/libexec/check_tcp
linux-gate.so.1 => (0x00ac2000)
libnsl.so.1 => /lib/libnsl.so.1 (0x0097d000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00ee9000)
libssl.so.6 => not found
libcrypto.so.6 => not found
libpthread.so.0 => /lib/libpthread.so.0 (0x00853000)
libdl.so.2 => /lib/libdl.so.2 (0x0093a000)
libc.so.6 => /lib/libc.so.6 (0x001f5000)
/lib/ld-linux.so.2 (0x0061e000)
Connection refused
本文转自 holy2009 51CTO博客,原文链接:
http://blog.51cto.com/holy2010/1944788