Hi,<br><br>A couple of comments and what I did to fix it. Firstly, I've not had much luck with the '--with-openssl' argument to ./configure and I want ssl in most cases. Admittedly, I've not spent much time trying to make it work with the SUNopenssl packages either. Here's the minimum required to make it work in theory.
<br><br>1. openssl must be in your $PATH. The Sun packages are in /usr/sfw by default.<br><br>root @ nagsrv: pkginfo | grep SUNWopenssl<br>system SUNWopenssl-commands <div id="mb_5"> OpenSSL Commands (Usr)
<br>system SUNWopenssl-include OpenSSL Header Files
<br>system SUNWopenssl-libraries OpenSSL Libraries (Usr)<br>system SUNWopenssl-man OpenSSL Manual Pages<br>system SUNWopensslr OpenSSL (Root)<br><br>Use pkginfo -l <package_name> for the detail. Although the BASEDIR for the Sun stuff is /; how helpful, eh? It's in /usr/sfw/lib.
<br><br>2.
The runtime linker path must have the openssl libraries. The default is
/lib:/usr/lib. Add /usr/sfw/lib to the runtime linker path.
<br><br>root @ nagsrv: crle<br><br>Configuration file [version 4]: /var/ld/ld.config <br> Default Library Path (ELF): /lib:/usr/lib:/usr/sfw/lib<br> Trusted Directories (ELF): /lib/secure:/usr/lib/secure (system default)
<br><br>Command line:<br> crle -c /var/ld/ld.config -l /lib:/usr/lib:/usr/sfw/lib<br><br>That
should fix the ssl part of your compile on a Solaris install with SUNWCall.<br><br>Personally, I dump
the SUNWopenssl stuff, and roll my own OpenSSL into /usr/local, either from Sunfreeware, or <a href="http://openssl.org">openssl.org</a> source but
thats not intrinsic to the problem, just some insight into how I
overcame similar errors. The $PATH, and crle are the minimal changes as far as I know. Obviously, if you use the SMCossl or from source, openssl must be in the $PATH and you must make clre see the libs (/usr/local/ssl/lib instead of the /usr/sfw/lib).
<br><br>3. Lastly, my installs use gcc 3.4.6 (not cc or SunStudio -- shame on me!), and libiconv from Sunfreeware.<br><br>-Marc<br></div><br><div><span class="gmail_quote">On 10/15/07, <b class="gmail_sendername">Stevens, Michael
</b> <<a href="mailto:Michael_Stevens@affymetrix.com">Michael_Stevens@affymetrix.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It looks like configure did not find openssl properly. Try<br>--with-openssl=<path>, or even --without-openssl if you don't want ssl.<br><br>--<br>Mike<br><br>> -----Original Message-----<br>> From: <a href="mailto:nagiosplug-help-bounces@lists.sourceforge.net">
nagiosplug-help-bounces@lists.sourceforge.net</a><br>[mailto:<a href="mailto:nagiosplug-">nagiosplug-</a><br>> <a href="mailto:help-bounces@lists.sourceforge.net">help-bounces@lists.sourceforge.net</a>] On Behalf Of David Rivera
<br>> Sent: Thursday, October 11, 2007 9:02 AM<br>> To: <a href="mailto:nagiosplug-help@lists.sourceforge.net">nagiosplug-help@lists.sourceforge.net</a><br>> Subject: [Nagiosplug-help] configure nagios-plugins-1.4.10
on solaris<br>><br>> Hi list<br>><br>><br>> I am having the following issue, I have search thew web and notice<br>plenty<br>> of people have had my same issue, but I have not run across a post<br>with a
<br>> resolution. Any help would be helpful.<br>><br>> I run the configure command, it *seems* to be fine, but once I run<br>make,<br>> it bombs with...<br>><br>><br>><br>> -----<br>> LD_LIBRARY_PATH=/usr/local/ssl/lib:
<br>><br>PATH=/bin:/usr/ccs/bin:/usr/local/bin:/usr/local/sbin:/usr/local/etc:/us<br>r/<br>> bin:/bin:/sbin:/usr/sbin:<br>> -----<br>><br>><br>> cc -g -O2 -o check_http check_http.o sslutils.o netutils.o
utils.o -<br>> L/tmp/nagios-plugins-1.4.10/plugins ../lib/libnagiosplug.a<br>../gl/libgnu.a<br>> -lresolv -lssl -lcrypto -lnsl -lsocket<br>> Undefined first referenced<br>> symbol in file
<br>> OpenSSL_add_all_algorithms sslutils.o<br>> ld: fatal: Symbol referencing errors. No output written to check_http<br>> collect2: ld returned 1 exit status<br>> *** Error code 1<br>> make: Fatal error: Command failed for target `check_http'
<br>> Current working directory /tmp/nagios-plugins-1.4.10/plugins<br>> *** Error code 1<br>> The following command caused the error:<br>> failcom='exit 1'; \<br>> for f in x $MAKEFLAGS; do \<br>> case $f in \
<br>> *=* | --[!k]*);; \<br>> *k*) failcom='fail=yes';; \<br>> esac; \<br>> done; \<br>> dot_seen=no; \<br>> target=`echo all-recursive | sed s/-recursive//`; \<br>> list='gl lib plugins plugins-scripts plugins-root po'; for subdir in
<br>> $list; do \<br>> echo "Making $target in $subdir"; \<br>> if test "$subdir" = "."; then \<br>> dot_seen=yes; \<br>> local_target="$target-am"; \<br>
> else \<br>> local_target="$target"; \<br>> fi; \<br>> (cd $subdir && make $local_target) \<br>> || eval $failcom; \<br>> done; \<br>> if test "$dot_seen" = "no"; then \
<br>> make "$target-am" || exit 1; \<br>> fi; test -z "$fail"<br>> make: Fatal error: Command failed for target `all-recursive'<br>> Current working directory /tmp/nagios-plugins-1.4.10
<br>> *** Error code 1<br>><br>><br>><br>><br>> - David Rivera (drivera)<br>><br>> -----------------------<br>> The mailing list archive is found here:<br>> <a href="http://www.nagiosexchange.org/nagiosplug-help.32.0.html">
http://www.nagiosexchange.org/nagiosplug-help.32.0.html</a><br>><br>><br>><br>------------------------------------------------------------------------<br>-<br><br></blockquote></div><br>