Installing Nagios-Plugins [make errors]

Frank Migge fm at frank4dd.com
Mon Apr 19 14:01:01 CEST 2010


Hi Juki,

It looks like the compiler cannot find the OpenSSL libraries for linking. The http plugin needs these libraries for the https calls.

Find the libcryptoxxx.so and libsslxxx.so libraries location, then try adding the path manually to the Makefile using the -L option, e.g. -L/usr/local/ssl/lib. Alternatively, you can try using the gcc environment variable LIBRARY_PATH or LDFLAGS to force the compiler to find the SSL libraries. 
$ LIBRARY_PATH=/usr/local/ssl/lib
$ export LIBRARY_PATH

LDFLAGS="-L/usr/local/ssl/lib"
export LDFLAGS

Run make once more and see what happens.

Cheers,
Frank



  ----- Original Message ----- 
  From: Juki 
  To: Nagios Users List 
  Sent: Monday, April 19, 2010 3:05 PM
  Subject: Re: [Nagios-users] Installing Nagios-Plugins [make errors]


  Hello,


  On 19 April 2010 08:48, Mark Elsen <mark.elsen at gmail.com> wrote:


     Try 'gmake'  (GNU Make) ,


  After using 'gmake' the error has now changed to this;

  Undefined                       first referenced
   symbol                             in file
  SSL_load_error_strings              sslutils.o
  SSL_write                           sslutils.o
  OpenSSL_add_all_algorithms          sslutils.o
  SSL_set_fd                          sslutils.o
  SSL_free                            sslutils.o
  SSL_read                            sslutils.o
  SSLv23_client_method                sslutils.o
  SSL_new                             sslutils.o
  SSL_CTX_new                         sslutils.o
  SSL_connect                         sslutils.o
  SSL_shutdown                        sslutils.o
  SSL_CTX_free                        sslutils.o
  SSL_library_init                    sslutils.o
  ld: fatal: Symbol referencing errors. No output written to check_http
  collect2: ld returned 1 exit status
  gmake[2]: *** [check_http] Error 1
  gmake[2]: Leaving directory `/tmp/nagios-plugins-1.4.14/plugins'
  gmake[1]: *** [all-recursive] Error 1
  gmake[1]: Leaving directory `/tmp/nagios-plugins-1.4.14'
  gmake: *** [all] Error 2


  Something wrong with the check_http plugin, perhaps?

  Juki.



------------------------------------------------------------------------------


  ------------------------------------------------------------------------------
  Download Intel® Parallel Studio Eval
  Try the new software tools for yourself. Speed compiling, find bugs
  proactively, and fine-tune applications for parallel performance.
  See why Intel Parallel Studio got high marks during beta.
  http://p.sf.net/sfu/intel-sw-dev


------------------------------------------------------------------------------


  _______________________________________________
  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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100419/02dccaa5/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-------------- 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