Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Mar 2000 07:26:47 -0500
From:      Jim Bloom <bloom@acm.org>
To:        Kris Kennaway <kris@hub.freebsd.org>
Cc:        Manfred Antar <mantar@pacbell.net>, Sean-Paul Rees <sean@dreamfire.net>, current@FreeBSD.ORG
Subject:   Re: mod_ssl & current
Message-ID:  <38BD0C87.54E31094@acm.org>
References:  <Pine.BSF.4.21.0002291954330.61466-100000@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I am seeing the same thing with a world built yesterday afternoon.  I
don't know if this is an issue with multiple dlopen'ed libraries or
what.  Here is what I believe the port is doing.  During the build
process, the main apache server is built.  The ssl layer is created as
an add-in module (.so) which I would assume is dlopen'ed.  This module
is linked as follows:

	gcc -L/usr/lib -shared -o libssl.so <object list> -lssl -lcrypto

At runtine, apache tries to dlopen libssl.so.  libcrypto should dlopen
librsaUSA.so.

Something doesn't seem to be happening correctly though.  My previous
test was before librsaUSA was created.

Can Peter or John shed any light on possible linker or dynamic loader
issues here?

Jim Bloom
bloom@acm.org

Kris Kennaway wrote:
> 
> On Tue, 29 Feb 2000, Manfred Antar wrote:
> 
> > I needed to add -lRSAglue -lrsaUSA to the SSL_LIBS= line in
> > /usr/ports/www/apache13-php3/work/apache_1.3.12/src/modules/ssl/Makefile
> > and install the recompiled libssl.so in /usr/local/libexec/apache.
> > Works fine
> > Note this is for the apache13-php3 port but I bet it will work for the apache13-php4 port
> 
> This may work, but I doubt this is necessary. -lRSAglue is an empty
> library which only exists to keep legacy ports happy, and -lrsaUSA will be
> automatically dlopen()ed if you have a recent libcrypto.so.
> 
> As with the other guy, please make sure your libcrypto.so is up to date -
> I haven't seen evidence from either of you yet that this is the case :-)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38BD0C87.54E31094>