cannot find ssl libraries?

user2614425 picture user2614425 · Jul 24, 2013 · Viewed 32.4k times · Source

I am trying to install nrpe plugin on ubuntu 12.04, however I am facing issue with ssl libraries. I tried installing "libcurl3-openssl-dev" package, however when I try to compile nrpe plugin after installing this package I am facing issue saying "cannot find ssl libraries".

Could anyone please shade some light on this?

Thanking you,

Regards, Gaurav.

Answer

Paul Kehrer picture Paul Kehrer · Jul 24, 2013

If you're running on 64-bit:

./configure --with-ssl=/usr/bin/openssl --with-ssl-lib=/usr/lib/x86_64-linux-gnu

For whatever reason the configure script for nrpe doesn't seem to be able to find where libssl-dev installs the libraries. You can find where Ubuntu puts them with

apt-file list libssl-dev