NRPE-2.12 on VMWare ESX Server 3.5

Lorand S. D'Caltan ldcaltan at isystemsllc.com
Thu Jul 3 15:31:50 CEST 2008


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 `krb5_init_context at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_kt_resolve at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_auth_con_free at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_rc_default at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_sname_to_principal at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `__memcpy_chk at GLIBC_2.3.4'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_kt_free_entry at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_kt_default at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_rc_initialize at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `valid_cksumtype at k5crypto_3_MIT'
/usr/local/ssl/lib/libcrypto.so: undefined reference to `__memset_chk at GLIBC_2.3.4'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_cc_default at krb5_3_MIT'
/usr/local/ssl/lib/libcrypto.so: undefined reference to `__vfprintf_chk at GLIBC_2.3.4'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_cc_get_principal at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_mk_req_extended at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `__fprintf_chk at GLIBC_2.3.4'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_kt_close at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_free_context at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_auth_con_getrcache at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_get_server_rcache at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_timeofday at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_rc_destroy at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_principal_compare at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_free_ticket at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_decrypt_tkt_part at krb5_3_MIT'
/usr/local/ssl/lib/libcrypto.so: undefined reference to `__strcat_chk at GLIBC_2.3.4'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_free_principal at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_auth_con_setrcache at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_checksum_size at k5crypto_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_rc_get_lifespan at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `__stack_chk_fail at GLIBC_2.4'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_free_data_contents at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_auth_con_init at krb5_3_MIT'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_kt_get_entry at krb5_3_MIT'
/usr/local/ssl/lib/libcrypto.so: undefined reference to `__syslog_chk at GLIBC_2.4'
/usr/local/ssl/lib/libssl.so: undefined reference to `__printf_chk at GLIBC_2.3.4'
/usr/local/ssl/lib/libssl.so: undefined reference to `krb5_get_credentials at krb5_3_MIT'
/usr/local/ssl/lib/libcrypto.so: undefined reference to `__sprintf_chk at GLIBC_2.3.4'
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:jedrzej at man.poznan.pl]
Sent: Thursday, July 03, 2008 6:47 AM
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

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