From owner-freebsd-questions@FreeBSD.ORG Sun Nov 27 04:55:51 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97C1816A420 for ; Sun, 27 Nov 2005 04:55:51 +0000 (GMT) (envelope-from rmeek@russellmeek.net) Received: from a.mx.russellmeek.net (91.59.118.70.cfl.res.rr.com [70.118.59.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id C785343D4C for ; Sun, 27 Nov 2005 04:55:50 +0000 (GMT) (envelope-from rmeek@russellmeek.net) Received: (qmail 10461 invoked by uid 89); 27 Nov 2005 04:55:50 -0000 Received: by simscan 1.1.0 ppid: 9531, pid: 9726, t: 0.7143s scanners: attach: 1.1.0 clamav: 0.87.1/m:34/d:1194 spam: 3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on prometheus.russellmeek.net X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=ham version=3.1.0 Received: from unknown (HELO ?192.172.1.125?) (russell@russellmeek.net@192.172.1.125) by a.mx.russellmeek.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 27 Nov 2005 04:55:49 -0000 Message-ID: <43893C51.6080201@russellmeek.net> Date: Sat, 26 Nov 2005 23:55:45 -0500 From: "Russell E. Meek" User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <052201c5f211$92e58b90$0b00a8c0@mothra> <44hd9zpgvg.fsf@be-well.ilk.org> <006901c5f2c3$02b22120$0a00a8c0@rodan> In-Reply-To: <006901c5f2c3$02b22120$0a00a8c0@rodan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: broken openssl on freebsd60 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2005 04:55:51 -0000 Jeff D. Hamann wrote: >> OpenSSL is in the base system and the library version should be 4, not >> 3. Is there some reason you're installing it from the ports? > > > I have no idea. I didn't know it was part of the base system, but when > I went to install apache2, postgresql, etc, those ports wanted to > install the openssl port or at least they used to. > > > > > ----- Original Message ----- From: "Lowell Gilbert" > > To: "Jeff D. Hamann" > Cc: > Sent: Saturday, November 26, 2005 7:29 AM > Subject: Re: broken openssl on freebsd60 > > >> "Jeff D. Hamann" writes: >> >>> I should preface this with "I'm not sure if this is correct but I've >>> got a server running that doesn't make exstensive use of openssl and >>> everything seems to run alright for the apps I've been running"... >>> >>> so, >>> >>> I've been trying to install a new server using the openssl port and >>> keep finding problems with the openssl libs... >>> >>> $ pwd >>> /usr/local/lib >>> $ ls -la libssl* >>> -rw-r--r-- 1 root wheel 516602 Nov 26 12:23 libssl.a >>> lrwxr-xr-x 1 root wheel 11 Nov 26 12:23 libssl.so -> libssl.so.4 >>> -r--r--r-- 1 root wheel 318507 Nov 26 12:23 libssl.so.4 >>> lrwxr-xr-x 1 root wheel 12 Sep 16 09:59 libssl3.so -> >>> libssl3.so.1 >>> -r-xr-xr-x 1 root wheel 155344 Sep 16 10:00 libssl3.so.1 >>> $ >>> >>> should those be: >>> >>> lrwxr-xr-x 1 root wheel 12 Sep 16 09:59 libssl3.so -> >>> libssl.so.3 >>> -r-xr-xr-x 1 root wheel 155344 Sep 16 10:00 libssl.so.3 >>> >>> or some such thing, because when I attempt to start something like >>> postgresql81, I get: >>> >>> $ psql >>> /libexec/ld-elf.so.1: Shared object "libssl.so.3" not found, required >>> by "psql" >>> $ >>> >>> I need to get the following apps running on the new FREEBSD 6.0 >>> machine: >>> >>> 1) openssl >>> >>> then, >>> >>> 2) apache2 >>> 3) subversion >>> 4) uw-imap >>> 5) postgresql81 or postgresql80+postgis >>> 6) php >>> >>> etc, etc, etc and I'm concerned that none of those will work with the >>> current status of openssl on freebsd 6.0. I'm running >>> >>> $ uname -a >>> FreeBSD bobby.xxx.xxx 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Fri Nov 18 >>> 10:47:37 PST 2005 >>> hamannj@bobby.xxx.xxx:/usr/obj/usr/src/sys/GENERIC amd64 >> >> >> OpenSSL is in the base system and the library version should be 4, not >> 3. Is there some reason you're installing it from the ports? >> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Another user had a similar issue like this with OpenSSL, here is what I advised him to do which in the end worked perfectly. Edit your make.conf file *"/etc/make.conf" *and please in the following: *WITH_OPENSSL_BASE=yes *This will cause all future installed ports to build against the base version of OpenSSL rather than trying to install the port version as a dependency. You can then uninstall the port version of openssl *"/usr/ports/security/openssl make deinstall clean"* Once the uninstall is complete, reinstall all OpenSSL required ports either by using portupgrade or by manually deinstalling and then reinstalling the port as they will now build against the base version of OpenSSL. Thanks, Russell