Solaris 8 - plugins 1.4.3 compile error

Marcel Mitsuto Fucatu Sugano msugano at uolinc.com
Thu May 11 01:00:04 CEST 2006


On Wed, 2006-05-10 at 15:41 -0700, Robert Binz wrote:
> Good Day -
[snip]
> ld: fatal: library -lssl: not found
> ld: fatal: library -lcrypto: not found
[snip]
> did a "make all" and I get the same error but on a different package...
[snip]
> gcc -Wall -g -O2 -o check_apt check_apt.o utils.o runcmd.o 
> -L/export/home/rbinz/nagios/plugins/nagios-plugins-HEAD-200605081152/plugins
> ../lib/libnagiosplug.a ../lib/libcoreutils.a ../intl/libintl.a -lgen
> -lsocket -lssl -lcrypto -R/usr/local/ssl/lib
> ld: fatal: library -lssl: not found
> ld: fatal: library -lcrypto: not found
> ld: fatal: File processing errors. No output written to check_apt
[snip]
> Can anyone offer some help on getting the plugins compiled on Solaris 8?

Hello.

It is something to do with LDFLAGS or *FLAGS not being correctly set on
Solaris, by ./configure.

I have this problem too, and even spending lots of efforts in finding
out WTF was wrong, i ended up by compiling all by hand, placing the
correct path to libssl and libcrypto.

something like, copying the last gcc line, cd to the previous dir, and
adding -L/usr/local/lib for gcc being able to find all those hidden
libs :)

HTH,

M.


AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. Caso você não seja o destinatário desta mensagem, informamos que qualquer divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos é absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail´s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/.


-------------------------------------------------------
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&kid0709&bid&3057&dat1642
_______________________________________________
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