Problem in compiling nagios-plugin-1.4.9
Kevin Zhang
kevin.zhang at mblox.com
Mon Jul 2 22:07:44 CEST 2007
I am trying to commpile the nagios-plugin-1.4.9 on Red Hat Enterprise
Linux ES release 4 (Nahant Update 4).
But encountered the following errors. Could someone help? Thanks in
advance.
Kevin SZ
Making all in plugins
make[2]: Entering directory `/root/nagios-plugins-1.4.9/plugins'
/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 ../gl/libgnu.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.9/plugins -L/usr/local/ssl/lib
../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x38): In function
`dlfcn_load':
: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xa0): In function
`dlfcn_load':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xc9): In function
`dlfcn_load':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x13e): In function
`dlfcn_unload':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x1f5): In function
`dlfcn_bind_var':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x241): In function
`dlfcn_bind_var':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2d5): In function
`dlfcn_bind_func':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x321): In function
`dlfcn_bind_func':
: undefined reference to `dlerror'
collect2: ld returned 1 exit status
make[2]: *** [check_http] Error 1
make[2]: Leaving directory `/root/nagios-plugins-1.4.9/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/nagios-plugins-1.4.9'
make: *** [all] Error 2
[root at www nagios-plugins-1.4.9]#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070702/71d22161/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------- next part --------------
_______________________________________________
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