It was previously installed on DEBIAN5 nrpe The following error was installed on Debian7 this time checking for ssl headers... ssl headers found in /usrchecking for SSL libraries... configure: error: Cannot find ssl libraries1, official website https://www.nagios.org/2, download nrpe-2.12.tar.gzaxel -n 10  HTTP://SOURCEFORGE.NET/PROJECTS/NAGIOS/FILES/NRPE-2.X/NRPE-2.12/NRPE-2.12.TAR.GZ3, creating User groupadd Nagiosuseradd -m -s /bin/false -g nagios nagios4, unzip, and compile the installation tar zxvf Nrpe-2.12.tar.gzcd nrpe-2.12./configure --prefix=/opt/nagioschecking for ssl headers ... ssl headers found in /usrchecking for ssl libraries... Configure: error: cannot find ssl libraries The above error message appears Dpkg -l |grep sslii libssl-dev 1.0.1e-2+deb7u16 amd64 SSL development libraries, header files and documentationii libssl-doc 1.0.1e-2+deb7u16 all SSL development documentation documentationii libssl1.0.0:amd64 1.0.1e-2+deb7u16 amd64 SSL shared librariesii openssl 1.0.1e-2+deb7u16 amd64 Secure Socket Layer (SSL) binary and related cryptographic toolsii ssl-cert 1.0.32 all simple debconf WRAPPER FOR OPENSSL package has been installed But why did not find the relevant ssl libraries because only the/USR was found in this directory dpkg -l Libssl-dev/./usr/usr/lib/usr/lib/x86_64-linUx-gnu and Libssl-dev is in/usr/lib/x86_64-linux-gnu this directory as long as configure when the time to add--with-ssl-lib=/usr/lib/x86_64-linux-gnu on the line. /configure --prefix=/opt --with-ssl-lib=/usr/lib/x86_64-linux-gnumake allmake Install-pluginmake install-daemonmake install-daemon-config Final Resolution OK.
This article is from the "7928217" blog, please be sure to keep this source http://7938217.blog.51cto.com/7928217/1660838
Debian7 Source installation Nrpe cannot find SSL libraries and solutions