Results 1 to 6 of 6

Thread: nagios- nrpe installation error(configure: error: Cannot find ssl libraries)

  1. #1
    Join Date
    Jan 2011
    Location
    Surat,Gujarat,India
    Beans
    28
    Distro
    Ubuntu

    Unhappy nagios- nrpe installation error(configure: error: Cannot find ssl libraries)

    i have installed nagios and i want to install nrpe. While installing NRPE, when i execute (/home/abc/nrpe/configure)

    Code:
    ./configure
    it stops after reaching the following line

    Code:
    ...
    checking for type of socket size... size_t
    checking for SSL headers... SSL headers found in /usr
    checking for SSL libraries... configure: error: Cannot find ssl libraries
    I have installed libssl-dev and openssl package as i found them as a solution for this error.

    I tried the following option also

    Code:
    ./configure --with-ssl=/usr/bin/openssl --with-ssl-lib=/usr/lib
    But the error remains.

    What can be the possible solution for this ? I am using ubuntu 12.04 as my operating system. Thanks in advance.
    Thanks & Regards
    Ankur M Trapasiya

  2. #2
    Join Date
    Sep 2011
    Beans
    2

    Re: nagios- nrpe installation error(configure: error: Cannot find ssl libraries)

    Make a link of the libssl.so.version to libssl.so. I was able to install nrpe using this on oneric.

    cd /usr/lib

    ln -s libssl.so.0.9.8 libssl.so

  3. #3
    Join Date
    Apr 2007
    Beans
    Hidden!

    Re: nagios- nrpe installation error(configure: error: Cannot find ssl libraries)

    I am still having the issue as well after installing libssl-dev, and I also can not see any ssl files in /usr/lib


    Code:
    root@aspen:/usr/lib# sudo apt-get install libssl-dev
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    libssl-dev is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@aspen:/usr/lib# ls libssl*
    ls: cannot access libssl*: No such file or directory
    root@aspen:/usr/lib#
    I then put in this command
    Code:
    dpkg -L libssl-dev
    ... which showed a libssl.so inside of /usr/lib/x86_64-linux-gnu/

    I made a link to it with:
    Code:
    ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/libssl.so
    ..and then was able to configure and make my nrpe install!
    Last edited by RHAnthony; May 8th, 2012 at 10:57 PM. Reason: Found solution!

  4. #4
    Join Date
    Sep 2012
    Beans
    1

    Re: nagios- nrpe installation error(configure: error: Cannot find ssl libraries)

    I was also having this issue, even after creating a link to the libssl.so file in /lib/i386-linux-gnuin /usr/lib. This was quite frustrating!

    I've found a solution which worked for me at http://ubuntuforums.org/showthread.p...3#post12238023
    Last edited by demetriades; September 14th, 2012 at 11:11 AM. Reason: found a solution!

  5. #5
    Join Date
    Oct 2012
    Beans
    1

    Re: nagios- nrpe installation error(configure: error: Cannot find ssl libraries)

    apt-get install apt-file
    apt-file update
    apt-file search libssl | grep libssl-dev
    with the answer of this last command, you'll find where are located the librairies

    for me it was : libssl-dev: /usr/lib/i386-linux-gnu/libssl.so


    So the "configure" command is : ./configure --with-ssl=/usr/bin/openssl --with-ssl-lib=/usr/lib/i386-linux-gnu/


    Enjoy

  6. #6
    Join Date
    Jun 2006
    Beans
    19
    Distro
    Ubuntu 6.06

    Thumbs up Re: nagios- nrpe installation error(configure: error: Cannot find ssl libraries)

    Quote Originally Posted by RHAnthony View Post
    I am still having the issue as well after installing libssl-dev, and I also can not see any ssl files in /usr/lib


    Code:
    root@aspen:/usr/lib# sudo apt-get install libssl-dev
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    libssl-dev is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@aspen:/usr/lib# ls libssl*
    ls: cannot access libssl*: No such file or directory
    root@aspen:/usr/lib#
    I then put in this command
    Code:
    dpkg -L libssl-dev
    ... which showed a libssl.so inside of /usr/lib/x86_64-linux-gnu/

    I made a link to it with:
    Code:
    ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/libssl.so
    ..and then was able to configure and make my nrpe install!
    The above worked fine for me on Ubuntu 12.10 x64 - thanks.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •