Xymon Mailing List Archive search

configure error for ssl on SunOS solaris 9

list Rolf Schrittenlocher
Wed, 30 Aug 2006 15:45:45 +0200
Message-Id: <user-0211b6096810@xymon.invalid>

Hi,

it took us some hours to find out the reason for the following error occuring during configure of 4.2 on Solaris 9:

"Checking for OpenSSL ...
Found OpenSSL include files in /usr/local/ssl/include
Undefined                       first referenced
 symbol                             in file
dlsym                               /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit dependency /etc/lib/libdl.so.1)
dlopen                              /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit dependency /etc/lib/libdl.so.1)
dlclose                             /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit dependency /etc/lib/libdl.so.1)
dlerror                             /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)  (symbol belongs to implicit dependency /etc/lib/libdl.so.1)
ld: fatal: Symbol referencing errors. No output written to test-ssl
collect2: ld returned 1 exit status
gmake: *** [test-link] Error 1
WARNING: OpenSSL library files found in /usr/local/ssl/lib, but link fails.
Continuing with SSL support disabled."

The reason was that the link to ld was missing in Makefile.SunOS used by Makefile.test-ssl. Adding it as
NETLIBS = -lresolv -lsocket -lnsl    (org)
NETLIBS = -lresolv -lsocket -lnsl -ldl    (new)
in Makefile.SunOS solved the problem. I don't know if our solaris setup is somehow specific or ig this can be added generally to this file.

greetings
Rolf

-- 
Mit freundlichen Gruessen
Rolf Schrittenlocher

HRZ/BDV, Senckenberganlage 31, 60054 Frankfurt Tel: (XX) XX - XXX XXXXX   Fax: (XX) XX - XXX XXXXX
LBS: user-1e39a1813094@xymon.invalid
Persoenlich: user-6ea8e907e200@xymon.invalid