[Nagiosplug-help] Struggling on Solaris10
Ton Voon
ton.voon at altinity.com
Wed Aug 16 23:20:48 CEST 2006
Ashish,
Could you reduce this down to find the smallest changes to the
environment necessary to compile the plugins? I'll then find where in
the configure.in script it needs to be added.
Ton
On 16 Aug 2006, at 21:12, Gupta, Ashish wrote:
> Thanks a lot for your help.I set these variables and was able to
> compile .Used this nagios-plugins-HEAD-200608151152
>
>
>
> export CFLAGS=-R/usr/local/ssl/lib
>
> export CPPFLAGS=-R/usr/local/ssl/lib
>
> export LDFLAGS=-L/usr/local/lib:/usr/local/ssl/lib
>
>
>
> Now it works on solaris10
>
>
>
>
>
> Thanks and Regards,
>
> Ashish
>
>
>
> From: nagiosplug-help-bounces at lists.sourceforge.net
> [mailto:nagiosplug-help-bounces at lists.sourceforge.net] On Behalf Of
> Ton Voon
> Sent: Wednesday, August 16, 2006 11:33 AM
> To: William Schultz
> Cc: nagiosplug-help at lists.sourceforge.net
> Subject: Re: [Nagiosplug-help] Struggling on Solaris10
>
>
>
> What's the best compile solution? I though including -R in the
> CFLAGS was best, but some suggest otherwise.
>
>
>
> Ton
>
>
>
> On 16 Aug 2006, at 15:34, William Schultz wrote:
>
>
>
>
> 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
>
>
>
>
> ----------------------------------------------------------------------
> ---
>
> 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
>
>
>
>
>
> This message has been scanned for viruses by MailController -
> www.MailController.altohiway.com
>
>
>
>
>
>
>
>
>
> http://www.altinity.com
>
> T: +44 (0)870 787 9243
>
> F: +44 (0)845 280 1725
>
> Skype: tonvoon
>
>
>
>
>
>
>
http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20060816/91a8a54b/attachment.html>
More information about the Help
mailing list