[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [BULK] Re: [hobbit] Configure SSL Error
- To: <hobbit (at) hswn.dk>
- Subject: RE: [BULK] Re: [hobbit] Configure SSL Error
- From: "Thompson, Brian" <Brian.Thompson (at) detroitdiesel.com>
- Date: Tue, 12 Jun 2007 08:15:55 -0400
- References: <C1E3B1178BED2E4B8232441A00FFE4DD72BDC8 (at) DDCEXCH3.ddcnet.detroitdiesel.com> <20070611204433.GA31817 (at) hswn.dk>
- Thread-index: AcesbgoaDUSsuWxFS+mpTu+/5HOhrgAfTegQ
- Thread-topic: [BULK] Re: [hobbit] Configure SSL Error
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