[Nagiosplug-help] Nagios and Nagios Plugin Install Issues

Stan Baptista stan.baptista at gmail.com
Fri Nov 9 20:23:51 CET 2007


Hi,

I'm installing Nagios and Nagios Plugins using the Fedora Quickstart
instructions here:
http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html.

VERSION INFO

System: CentOS release 4.5 (final)
Nagios version: 2.10
Nagios plug-in version: 1.4.10

NAGIOS PROBLEMS

Nagios appears to have installed correctly EXCEPT that the
contacts.cfg file mentioned at step 4) Customize Configuration was not
generated. The instructions indicated that it should have been
installed here: /usr/local/nagios/etc/ojects/contacts.cfg. I decided
to continue with installing the plugins.

NAGIOS PLUGIN PROBLEMS

When installing nagios-plugins-1.4.10, I get compile errors running
the make step (see MAKE STEP below).

CONFIGURATION

I configured as follows:

./configure --with-nagios-user=nagios --with-nagios-group=nagios

MAKE STEP

Make returned undefined references:

[root at duncan ~]# cd /home/stan/builds/nagios-plugins-1.4.10/
[root at duncan nagios-plugins-1.4.10]# make
make  all-recursive
make[1]: Entering directory `/home/stan/builds/nagios-plugins-1.4.10'
Making all in gl
make[2]: Entering directory `/home/stan/builds/nagios-plugins-1.4.10/gl'
make  all-am
make[3]: Entering directory `/home/stan/builds/nagios-plugins-1.4.10/gl'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/stan/builds/nagios-plugins-1.4.10/gl'
make[2]: Leaving directory `/home/stan/builds/nagios-plugins-1.4.10/gl'
Making all in lib
make[2]: Entering directory `/home/stan/builds/nagios-plugins-1.4.10/lib'
Making all in tests
make[3]: Entering directory `/home/stan/builds/nagios-plugins-1.4.10/lib/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/stan/builds/nagios-plugins-1.4.10/lib/tests'
make[3]: Entering directory `/home/stan/builds/nagios-plugins-1.4.10/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/stan/builds/nagios-plugins-1.4.10/lib'
make[2]: Leaving directory `/home/stan/builds/nagios-plugins-1.4.10/lib'
Making all in plugins
make[2]: Entering directory `/home/stan/builds/nagios-plugins-1.4.10/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/home/stan/builds/nagios-plugins-1.4.10/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+0x3e): In function
`dlfcn_load':
: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xab): In function
`dlfcn_load':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xd4): In function
`dlfcn_load':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x14b): In function
`dlfcn_unload':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x20b): In function
`dlfcn_bind_var':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x257): In function
`dlfcn_bind_var':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x2fb): In function
`dlfcn_bind_func':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x347): 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 `/home/stan/builds/nagios-plugins-1.4.10/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stan/builds/nagios-plugins-1.4.10'
make: *** [all] Error 2
[root at duncan nagios-plugins-1.4.10]#

Any help would be appreciated. Thanks in advance.

-- 
Stan Baptista
State of Hawaii DAGS/ICSD
eGovernment Team Specialist




More information about the Help mailing list