[BULK] Re: [hobbit] Configure SSL Error

Thompson, Brian Brian.Thompson at detroitdiesel.com
Tue Jun 12 14:15:55 CEST 2007


Excellent, that worked great.  Thanks Henrik! 

Brian Thompson

-----Original Message-----
From: Henrik Stoerner [mailto:henrik at hswn.dk] 
Sent: Monday, June 11, 2007 4:45 PM
To: hobbit at hswn.dk
Subject: [BULK] Re: [hobbit] Configure SSL Error
Importance: Low

On Mon, Jun 11, 2007 at 04:23:53PM -0400, Thompson, Brian wrote:
> Hi all, I've recently got my hobbit server back up and running and now

> I need to add SSL support.  I know I can just install it and redo a 
> configure;make;make install, but I get this error when running
> configure:
> 
> Checking for OpenSSL ...
> Found OpenSSL include files in /usr/local/ssl/include
> /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o): In function
> `dlfcn_load':dso_dlfcn.c:(.text+0x44): undefined reference to `dlopen'

It seems that your openssl libraries do not automatically pull in the
libdl library when you link with it.

As a workaround, you can change build/Makefile.test-ssl: The "test-link"
command reads
   @$(CC) $(CFLAGS) $(OSSLLIB) -o test-ssl test-ssl.o -lssl -lcrypto
$(NETLIBS) Add a "-ldl" after the "$(NETLIBS)".

That should allow the configure script to complete. After that, you must
change the top-level Makefile: It has a line with
   SSLLIBS = -L/usr/lib -lssl -lcrypto
Change that to
   SSLLIBS = -L/usr/lib -lssl -lcrypto -ldl


Regards,
Henrik


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





More information about the Xymon mailing list