NRPE-2.12 on VMWare ESX Server 3.5

Lorand S. D'Caltan ldcaltan at isystemsllc.com
Wed Jul 2 21:21:19 CEST 2008


Thanks for the suggestion, I get the same error though.

And here's something even more strange, even though I've installed OpenSSL, those two files were not present in /usr anywhere.

I copied them from another server to /usr/local/ssl/lib but it still errors

find /usr -name libcrypto.so
/usr/local/ssl/lib/libcrypto.so
find /usr -name libssl.so
/usr/local/ssl/lib/libssl.so
env CFLAGS="-L /usr/local/ssl/lib" LD_FLAGS="-L /usr/local/ssl/lib -R /usr/local/ssl/lib" ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
...  ...  ...
checking for type of socket size... size_t
checking for SSL headers... SSL headers found in /usr/local/ssl
checking for SSL libraries... configure: error: Cannot find ssl libraries

ll /usr/local/ssl/lib
total 8956
drwxr-xr-x    2 root     root         4096 Jul  1 15:32 engines
-rwxr-xr-x    1 root     root        14456 Jul  2 15:08 lib4758cca.so
-rwxr-xr-x    1 root     root        14604 Jul  2 15:08 libaep.so
-rwxr-xr-x    1 root     root        10424 Jul  2 15:08 libatalla.so
-rwxr-xr-x    1 root     root        18900 Jul  2 15:08 libchil.so
-rw-r--r--    1 root     root        22504 Jul  2 15:09 libcrypt.a
-rw-r--r--    1 root     root      2040060 Jul  2 15:19 libcrypto.a
-rw-r--r--    1 root     root      2098814 Jul  2 15:09 libcrypto.dll.a
-rwxr-xr-x    1 root     root      1240428 Jul  2 15:13 libcrypto.so
-rwxr-xr-x    1 root     root      1240428 Jul  2 15:08 libcrypto.so.0.9.8b
-rwxr-xr-x    1 root     root      1240428 Jul  2 15:08 libcrypto.so.6
-rwxr-xr-x    1 root     root        23332 Jul  2 15:09 libcrypt.so
-rwxr-xr-x    1 root     root        16064 Jul  2 15:08 libcswift.so
-rwxr-xr-x    1 root     root         2476 Jul  2 15:08 libgmp.so
-rwxr-xr-x    1 root     root         8648 Jul  2 15:08 libnuron.so
-rwxr-xr-x    1 root     root       174072 Jul  2 15:11 libssl3.so
-rw-r--r--    1 root     root       335272 Jul  2 15:19 libssl.a
-rw-r--r--    1 root     root       275832 Jul  2 14:07 libssl.dll.a
-rwxr-xr-x    1 root     root       279308 Jul  2 15:11 libssl.so
-rwxr-xr-x    1 root     root        18748 Jul  2 15:08 libsureware.so
-rwxr-xr-x    1 root     root        14624 Jul  2 15:08 libubsec.so
drwxr-xr-x    2 root     root         4096 Jul  1 15:32 pkgconfig

Am I missing anything?

<><><><><><><><>
Lorand S. D'Caltan
Systems Engineer
iSystems LLC
(802) 655-8347 x157
<><><><><><><><>
CONFIDENTIALITY: The information contained in this message may be privileged and confidential and protected from disclosure. No confidentiality or privilege is waived or lost by any mistransmission. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. Please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. Thank you.


-----Original Message-----
From: Jedrzej Jajor [mailto:jedrzej at man.poznan.pl]
Sent: Wednesday, July 02, 2008 3:00 PM
To: 'nagios-users at lists.sourceforge.net'
Cc: Lorand S. D'Caltan
Subject: Re: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5

Hi Loran,

Lorand S. D'Caltan wrote:
> I've been beating on this for a while now and I can't get around this
> particular error in the NRPE configuration stage:
>
> checking for type of socket size... size_t
> checking for SSL headers... SSL headers found in /usr/local/ssl/
> checking for SSL libraries... configure: error: Cannot find ssl libraries
>
> I've installed OpenSSL-0.9.8h and OpenSSL-devel-0.8.9h-1 and neither of
> them apparently contain the correct libs.
>
> This is ESX, so it's a very stripped down Linux and I don't have RPM
> abilities so I can't install the libopenssl RPM package.
>
> Any suggestions?

Try setting environment variables CFLAGS="-L /path/to/ssl/libs" and
LD_FLAGS="-L /path/to/ssl/libs -R /path/to/ssl/libs".

Eg. (all in single line)

env CFLAGS="-L /usr/local/ssl/lib" LD_FLAGS="-L /usr/local/ssl/lib -R
/usr/local/ssl/lib" ./configure (other configure parameters)

You can find the path to openssl libs by searching for libssl.so or
libcrypto.so (find /usr -name libssl.so)

--
Regards,
Andy


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list