NRPE can't find ssl shared libraries


#1

I’v compiled NRPE and it says that it successfuly found and configured ssl. However when I try and start nrpe from the command line I get the error:

ld.so.1: nrpe: fatal: libssl.so.0.9.8: open failed: No such file or directory

output from ldd confirms this: Anyone know how to fix this?

$ ldd /usr/local/nagios/bin/nrpe
libssl.so.0.9.8 => (file not found)
libcrypto.so.0.9.8 => (file not found)
libnsl.so.1 => /lib/libnsl.so.1
libsocket.so.1 => /lib/libsocket.so.1
libc.so.1 => /lib/libc.so.1
libmp.so.2 => /lib/libmp.so.2
libmd5.so.1 => /lib/libmd5.so.1
libscf.so.1 => /lib/libscf.so.1
libdoor.so.1 => /lib/libdoor.so.1
libuutil.so.1 => /lib/libuutil.so.1
libm.so.2 => /lib/libm.so.2
/platform/SUNW,Ultra-60/lib/libc_psr.so.1
/platform/SUNW,Ultra-60/lib/libmd5_psr.so.1

Thanks Ric


#2

Just incase some one else has the same problem heres the fix.

crle -u -l /lib:/usr/lib:/usr/local/ssl/lib