From owner-freebsd-current Wed Mar 1 4:27: 9 2000 Delivered-To: freebsd-current@freebsd.org Received: from reyim.ne.mediaone.net (reyim.ne.mediaone.net [24.218.251.241]) by hub.freebsd.org (Postfix) with ESMTP id 440CE37B723; Wed, 1 Mar 2000 04:27:06 -0800 (PST) (envelope-from bloom@acm.org) Received: from acm.org (localhost [127.0.0.1]) by reyim.ne.mediaone.net (8.9.3/8.9.3) with ESMTP id HAA11072; Wed, 1 Mar 2000 07:26:48 -0500 (EST) (envelope-from bloom@acm.org) Message-ID: <38BD0C87.54E31094@acm.org> Date: Wed, 01 Mar 2000 07:26:47 -0500 From: Jim Bloom Reply-To: bloom@acm.org X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Kris Kennaway Cc: Manfred Antar , Sean-Paul Rees , current@FreeBSD.ORG Subject: Re: mod_ssl & current References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -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