[Nagiosplug-help] PROBLEM IN INSTALLATION OF NAGIOS PLUGIN

Jon Angliss jon at netdork.net
Wed May 6 15:59:30 CEST 2009


On Wed, 6 May 2009 12:37:41 +0530, VINEET MITTAL
<vineetmittal.83 at gmail.com> wrote:

>Hello Team,
>
>I am using nagios-plugins-1.4.6. During installtion I use the following
>command to configure:
>
>* ./configure --with-ssl=/usr/bin/openssl --with-ssl-lib=/usr/lib/ssl/ *
>
>Configuration goes successfully.Then i run  *make* commnad.
>
>Its give a following error which is in bold.

=====8<----------

>/bin/bash ../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/sysadmin/down/nagios-plugins-1.4.6/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): In function `dlfcn_bind_func':

So I did a google search for the above line...


http://www.google.com/search?q=libcrypto.a(dso_dlfcn.o)%3A+In+function+%60dlfcn_bind_func%27%3A&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

And there are at least 2 mentions of the way your OpenSSL libraries
are compiled to include the DL libraries.

 http://osdir.com/ml/clustering.gridengine.users/2006-12/msg00034.html
  http://www.openldap.org/lists/openldap-software/200510/msg00202.html

Whilst neather are nagios related, they do point you to adding -ldl to
the build to fix similar errors.

-- 
Jonathan Angliss
<jon at netdork.net>





More information about the Help mailing list