[Nagiosplug-devel] problems compiling new plugin versions for nagios

Jaime Fernandez jaime_fernandez at jdv.com
Tue Jan 16 02:36:57 CET 2007


Hi,
 
I am currently having problems compiling the latest version of the
nagios plugins on my RHES3 server.
I am running the following SSL version: 
 
[root at nagios nagios-plugins-1.4.5]# rpm -qa |grep openssl
openssl-0.9.7a-33.21
openssl-devel-0.9.7a-33.21
[root at nagios nagios-plugins-1.4.5]# cat /etc/redhat-release 
Red Hat Enterprise Linux ES release 3 (Taroon Update 6)
 
I get the error message below when i run the make command after a
successfully compiling the plugins with SSL support:
 
 then mv -f ".deps/netutils.Tpo" ".deps/netutils.Po"; else rm -f
".deps/netutils.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2  -L.
-L/usr/local/ssl/lib -o check_http  check_http.o sslutils.o netutils.o
utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a  -lnsl -lresolv
-lssl -lcrypto 
gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o
-L/root/nagios-plugins-1.4.5/plugins -L/usr/local/ssl/lib
../lib/libnagiosplug.a ../lib/libcoreutils.a -lnsl -lresolv -lssl
-lcrypto
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x37): In function
`dlfcn_load':
: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x98): In function
`dlfcn_load':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xc0): In function
`dlfcn_load':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x141): In function
`dlfcn_bind_var':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x16c): In function
`dlfcn_bind_var':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x229): In function
`dlfcn_bind_func':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x254): In function
`dlfcn_bind_func':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x512): In function
`dlfcn_unload':
: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[2]: *** [check_http] Error 1
make[2]: Leaving directory `/root/nagios-plugins-1.4.5/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/nagios-plugins-1.4.5'
make: *** [all] Error 2 
 
You help would be greatly appreciated.
Thanks,
 

Jaime Fernandez

System Administrator

 

JDV Limited

ABN 67 009 136 029

Level 7, 141 St Georges Terrace

Perth WA Australia 6000

 

Phone: +61 8 9268 2766 

Fax: +61 8 9266 0200
Mobile: 0411 685 720

Email: jaime_fernandez at jdv.com

 

Visit our corporate website: www.jdv.com

 

------------------------------------------------------------------------------------------------------------------------------
This e-mail and any files transmitted with it are confidential and are only for the use of the person to whom they are addressed. If you are not the intended recipient, you are hereby notified that any use, dissemination, forwarding, printing, copying or dealing in any way whatsoever with this e-mail is strictly prohibited. If you have received this e-mail in error, please reply to us immediately and delete the document.
It is the recipient's duty to virus-scan and otherwise test the enclosed information before using the information or loading attached files onto any computer system. JDV Limited does not warrant that the information contained in this e-mail is free from viruses, defects, errors, interception or interference.
JDV Limited, and each of its related companies each reserve the right to monitor all e-mail communications through its networks. 
Any views expressed in this message are those of the individual sender, except where that sender specifically states them to be the views of JDV Limited.
Your private information is only used and disclosed for the intention which you have provided it for. This information is not disclosed or used unless your consent has been provided or in the case that JDV Limited is permitted to do so under the Privacy Act of 1988.
-----------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20070116/540a74e8/attachment.html>


More information about the Devel mailing list