[Nagiosplug-help] Struggling on Solaris10

William Schultz wschultz at bsdboy.com
Wed Aug 16 16:34:05 CEST 2006


cat /var/ld/ldconfig to make sure your libraries are linked...

To link your libraries:
/usr/bin/crle -u -l /lib:/usr/lib/usr/local/lib:/path/to/ssl/lib:/ 
path/to/other/lib

-Wil

On Aug 16, 2006, at 6:40 AM, Gupta, Ashish wrote:

> First I downloaded nagios-plugins-1.4.3.I got this error
>
>
>
> gcc -Wall -g -O2 -o check_http check_http.o sslutils.o netutils.o  
> utils.o  -L/tmp/nagios-plugins-1.4.3/ 
> plugins                                               ../lib/ 
> libnagiosplug.a ../lib/libcoreutils.a -lnsl -lresolv ../intl/ 
> libintl.a /usr/local/lib/libiconv.so -L/ 
> usr                                              /local/lib -L/usr/ 
> lib -L/usr/openwin/lib -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB. 
> 4.2/lib -lgen -lsocket - 
> R                                              /usr/local/lib -R/ 
> usr/local/lib
>
> 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
>
>
>
> =====================================================================
>
>
>
> Then I tried to configure --without-ssl --without-cgiurl  --with- 
> openssl= =/usr/local/ssl/lib I got this error
>
> gcc -g -O2 -o check_icmp check_icmp.o /usr/local/lib/libiconv.so  - 
> L/usr/local/lib -L/usr/local/ssl/lib -L/tmp/      nagios- 
> plugins-1.4.3/plugins-root -lnsl -lresolv ../intl/libintl.a -L/usr/ 
> openwin/lib -lgen -lsocket -lssl -lcr      ypto -R/usr/local/ssl/ 
> libs -R/usr/local/ssl/lib -R/usr/local/lib
>
> make: Fatal error: Don't know how to make target `pst3'
>
> Current working directory /tmp/nagios-plugins-1.4.3/plugins-root
>
>
>
> ====================================================================== 
> ====
>
> I downloaded nagios-plugins-HEAD-200608151152.tar and when I try to  
> make this is the error I get .
>
>
>
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -I../plugins   -I/ 
> usr/local/ssl/include  -g -O2 -c xmalloc.c
>
> rm -f libcoreutils.a
>
> false cru libcoreutils.a cloexec.o full-read.o  full-write.o safe- 
> read.o safe-write.o  xalloc-die.o error.o bas   ename.o c-strtod.o  
> c-strtold.o exitfail.o open-safer.o creat-safer.o fsusage.o  
> getopt.o getopt1.o mountlist.o r   egex.o dup-safer.o fd-safer.o  
> pipe-safer.o xmalloc.o
>
> *** Error code 255
>
> make: Fatal error: Command failed for target `libcoreutils.a'
>
> Current working directory /tmp/nagios-plugins-HEAD-200608151152/lib
>
>
>
>
>
>
>
>
>
> Any help is appreciated.
>
>
>
>
>
> Thanks and Regards,
>
> Ashish
>
> ---------------------------------------------------------------------- 
> ---
> 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
> http://sel.as-us.falkag.net/sel? 
> cmd=lnk&kid=120709&bid=263057&dat=121642______________________________ 
> _________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: 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 mailing list