<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Well,<br>
<br>
SSL with Solaris is not working after all.<br>
I finally got to do the make install and it failed on SSL,<br>
<br>
Because I don't use it I never really cared before, I just started
over again and said no to use SSL.<br>
Someone might care and I'm happy to help out debugging.<br>
As everything seems to be there it must be a simple config problem.<br>
<br>
ipndbb # make install<br>
snip<br>
.....<br>
cd etcfiles; (echo "hosts.cfg"; echo "alerts.cfg"; echo
"analysis.cfg"; echo "combo.cfg"; echo "client-local.cfg"; echo
"holidays.cfg"; echo "rrddefinitions.cfg"; echo snmpmibs.cfg; echo
xymonmenu.cfg) | ../../build/setup-newfiles
/usr/local/xymon-4.3.5/server/etc/<br>
ld.so.1: setup-newfiles: fatal: libssl.so.1.0.0: open failed: No
such file or directory<br>
Killed<br>
make[1]: *** [install-cfg] Error 137<br>
make[1]: Leaving directory `/var/tmp/xymon-4.3.5/xymond'<br>
make: *** [install-xymond] Error 2<br>
<br>
ipndbb # grep ssl Makefile<br>
SSLINCDIR = -I/usr/local/ssl/include<br>
SSLLIBS = -L/usr/local/ssl/lib -lssl -lcrypto<br>
RPATHVAL += /usr/local/ssl/lib<br>
ipndbb # ls -la /usr/local/ssl/lib<br>
total 13618<br>
drwxr-xr-x 4 bin bin 12 Sep 20 08:20 .<br>
drwxr-xr-x 9 bin bin 10 Sep 20 08:20 ..<br>
drwxr-xr-x 2 bin bin 14 Sep 20 08:20 engines<br>
-rw-r--r-- 1 bin bin 2321302 Jun 3 2010 libcrypto.a<br>
lrwxrwxrwx 1 root root 18 Sep 20 08:20 libcrypto.so
-> libcrypto.so.1.0.0<br>
-r-xr-xr-x 1 bin bin 1449244 Jun 3 2010
libcrypto.so.0.9.8<br>
-r-xr-xr-x 1 bin bin 1637504 Jun 3 2010
libcrypto.so.1.0.0<br>
-rw-r--r-- 1 bin bin 422352 Jun 3 2010 libssl.a<br>
lrwxrwxrwx 1 root root 15 Sep 20 08:20 libssl.so
-> libssl.so.1.0.0<br>
-r-xr-xr-x 1 bin bin 304192 Jun 3 2010
libssl.so.0.9.8<br>
-r-xr-xr-x 1 bin bin 338212 Jun 3 2010
libssl.so.1.0.0<br>
drwxr-xr-x 2 bin bin 5 Sep 20 08:20 pkgconfig<br>
ipndbb # file build/setup-newfiles<br>
build/setup-newfiles: ELF 32-bit LSB executable 80386 Version 1,
dynamically linked, not stripped<br>
ipndbb #<br>
<br>
- Roland<br>
<div class="moz-signature">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title>test</title>
<br>
<br>
</div>
On 21/09/11 03:18 PM, Henrik Størner wrote:
<blockquote cite="mid:4E7973AA.2090405@hswn.dk" type="cite">On
21-09-2011 03:38, Roland Soderstrom wrote:
<br>
<br>
<blockquote type="cite">Lots of NETLIBS missing.
<br>
After adding these, compilation worked fine.
<br>
</blockquote>
<br>
Thanks, saves me the trouble of finding a Solaris box.
<br>
<br>
The reason $(NETLIBS) is suddenly needed all these places is
because I changed the code that loads the hosts.cfg file, so it
can now load it from xymond instead of doing the file I/O by
itself. But that means a lot of tools which previously just read
stuff from a file now are doing network I/O instead, and therefore
they suddenly need these libraries.
<br>
<br>
And I had just plain forgotten that Solaris has this "feature" of
keeping the network stuff in separate libraries.
<br>
<br>
<br>
Regards,
<br>
Henrik
<br>
_______________________________________________
<br>
Xymon mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a>
<br>
</blockquote>
</body>
</html>