From owner-freebsd-questions@FreeBSD.ORG Tue Nov 29 15:38:10 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 D618216A41F for ; Tue, 29 Nov 2005 15:38:10 +0000 (GMT) (envelope-from rmeek@russellmeek.net) Received: from prometheus.russellmeek.net (91.59.118.70.cfl.res.rr.com [70.118.59.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id C60DB43D60 for ; Tue, 29 Nov 2005 15:38:07 +0000 (GMT) (envelope-from rmeek@russellmeek.net) Received: (qmail 15520 invoked by uid 89); 29 Nov 2005 15:37:59 -0000 Received: by simscan 1.1.0 ppid: 14238, pid: 14669, t: 1.1779s scanners: attach: 1.1.0 clamav: 0.87.1/m:34/d:1197 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 prometheus.russellmeek.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 29 Nov 2005 15:37:58 -0000 Message-ID: <438C75D9.5050505@russellmeek.net> Date: Tue, 29 Nov 2005 10:38:01 -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: Benjamin Thelen , freebsd-questions@freebsd.org References: <052201c5f211$92e58b90$0b00a8c0@mothra> <44hd9zpgvg.fsf@be-well.ilk.org> <006901c5f2c3$02b22120$0a00a8c0@rodan> <43893C51.6080201@russellmeek.net> <438ADE1D.5060709@ccgis.de> <438B21D4.7050907@russellmeek.net> <438C6A1E.702@ccgis.de> In-Reply-To: <438C6A1E.702@ccgis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 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: Tue, 29 Nov 2005 15:38:11 -0000 Benjamin Thelen wrote: > Russell E. Meek schrieb: > >> Benjamin Thelen wrote: >> >>> Russell E. Meek schrieb: >>> >>>> 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. >>>> >>> >>> >>> Hi, >>> >>> I already read your posting a few days ago. What I don't understand >>> is, that openssl is per default within the base system, isn't it? >>> So, I would suppose that any port, which requires openssl, would >>> take it from the base rather than from ports? At least, I never >>> installed a port, installing openssl from ports as a dependency >>> (e.g. php5-openssl). >>> >>> I don't really get it. Could you explain why this switch in >>> make.conf is needed then? >>> >>> This would also mean, that I would have to upgrade the base system >>> openssl to openssl-beta in order to be able to install OOo-2 as >>> having openssl within the base system _and_ openssl-beta as a port >>> obviously leads to little confusion. >>> >>> >>> Thanks, >>> Ben >>> >>> >>> >>>> Thanks, >>>> >>>> Russell >>>> _______________________________________________ >>>> 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" >>> >>> >>> >>> >>> _______________________________________________ >>> 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" >> >> >> >> Ben, >> >> Sorry about the confusion, make.conf is the global register that all >> ports look to for build information. >> >> By default ports requiring dependancies will build these dependancies >> according to their individual make file (normally ports.) >> >> (man make.conf) will show you more in depth about what the make.conf >> is file and many of the global registers that can be used. > > > Hello Russel, > > Thanks for the clarification, I understand now. > >> >> php5-openssl is just a shared extension, how did you install Apache >> with OpenSSL? Port or Base? > > > Base, just "portinstall apache+mod_ssl". > >> >> How are you installing OpenOffice 2 to where it requires OpenSSL, I >> do not see OpenSSL as a dependancy? > > > A package from http://porting.openoffice.org/freebsd/. I was suprised, > too, there actually is no OpenSSL dependancy, but pk_add complains > and, I think, even stops installing OOo-2. So I was forced to install > the oSSH-port, because building OOo-2 is a little nightmare :-). > > > Thanks, > Ben > > > > > >> >> Thanks, >> >> Russell >> >> _______________________________________________ >> 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" > > > _______________________________________________ > 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" Ben, Thanks for the heads up about Open Office.org. Thanks, Russell