You know, I swear I tried the ./configure --with-ssl-lib=/usr/local/ssl/lib 
before and it didn't work, this time it did. Confusing.

But then this:

make all
cd ./src/; make ; cd ..
make[1]: Entering directory `/root/nrpe-2.12/src'
gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include 
-DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/ssl/lib  -lssl -lcrypto 
-lnsl -lwrap
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libcrypto.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libcrypto.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libcrypto.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libcrypto.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libssl.so: undefined reference to [EMAIL PROTECTED]'
/usr/local/ssl/lib/libcrypto.so: undefined reference to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory `/root/nrpe-2.12/src'

*** Compile finished ***

If the NRPE daemon and client compiled without any errors, you
can continue with the installation or upgrade process.

Read the PDF documentation (NRPE.pdf) for information on the next
steps you should take to complete the installation or upgrade.

<><><><><><><><>
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:[EMAIL PROTECTED]
Sent: Thursday, July 03, 2008 6:47 AM
To: 'nagios-users@lists.sourceforge.net'
Cc: Lorand S. D'Caltan
Subject: Re: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5

Lorand S. D'Caltan wrote:
> 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

If you took them from another server (I assume it's the same
architecture, but to be sure check at least with 'file' whether copied
files are of the same type as other .so libs that you have on your
system), check whether they have all dependencies:
ldd /usr/local/ssl/lib/libcrypto.so
ldd /usr/local/ssl/lib/libssl.so
(check for any unresolved dependencies).

Also, if you installed the OpenSSL-devel-0.8.9h-1 from rpm (or other
package) you can check if it contains these libs (rpm -ql
OpenSSL-devel-0.8.9h-1).

> 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


Try ./configure --with-ssl-lib=/usr/local/ssl/lib

--
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@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

Reply via email to