[Nagiosplug-help] Trouble building plugins on debian
barbereau at gmail.com
Mon Apr 24 01:14:03 CEST 2006
The path /usr/local/ssl/lib is not the default path for libraries in
debian if you installed them with apt/dpkg . If you recompiled
openssl, you should have a look at the /etc/ld.so.conf file which
contains path to your libraries and then run ldconfig. If you want to
do it the debian way check wether you installed the libssl-dev and
> Hello, I am having trouble building the plugin distribution, on debian linux...
> I am trying to build nagios-plugins-1.4.3
> I'm using the debian sarge distribution.....
> The error occurs for some reason when trying to link in the ssl library...
> OpenSSL is installed....and the library archive appears in the correct
> location, etc....
> Here's the error:
> gcc -Wall -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o
> -L/downloads/nagios/nagios-plugins-1.4.3/plugins ../lib/libnagiosplug.a
> ../lib/libcoreutils.a -lnsl -lresolv -lssl -lcrypto -Wl,--rpath
> /usr/bin/ld: cannot find -lssl
> collect2: ld returned 1 exit status
> Here's the contents of my /usr/local/ssl/lib:
> ls -l /usr/local/ssl/lib
> total 1908
> -rw-r--r-- 1 root root 1675726 Oct 13 2005 libcrypto.a
> -rw-r--r-- 1 root root 259620 Oct 13 2005 libssl.a
> drwxr-xr-x 2 root root 4096 Oct 13 2005 pkgconfig
> I thought maybe it was looking for a shared .so library, but can't seem
> to find where to get one of those (I did find one in /usr/lib, but that
> didn't seem to work)....
> I finally commented out the --rpath part, so that it succeeded linking the
> static .a library.....But then it got a bunch of other compile errors, looking
> for SSL_CTX_* type symbols....
> I think something's just wrong here....before I go too much further, has anyone
> had any luck with this on debian sarge distro?
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
More information about the Help