NRPE can't find ssl shared libraries


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: nrpe: fatal: open failed: No such file or directory

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

$ ldd /usr/local/nagios/bin/nrpe => (file not found) => (file not found) => /lib/ => /lib/ => /lib/ => /lib/ => /lib/ => /lib/ => /lib/ => /lib/ => /lib/

Thanks Ric


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

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