From owner-freebsd-questions@FreeBSD.ORG Tue Nov 29 14:47:40 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 D2D1F16A41F for ; Tue, 29 Nov 2005 14:47:40 +0000 (GMT) (envelope-from bt@ccgis.de) Received: from sm7.simplethings.de (a15160313.alturo-server.de [217.160.128.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5349443D60 for ; Tue, 29 Nov 2005 14:47:12 +0000 (GMT) (envelope-from bt@ccgis.de) Received: from smm.simplethings.de ([85.88.4.201]) by sm7.simplethings.de with esmtp (Exim 4.50) id 1Eh6l5-00005j-Oe; Tue, 29 Nov 2005 15:47:08 +0100 Received: from [212.79.172.180] (helo=center.shared) by smM.simplethings.de with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1Eh6l5-0002Ev-Dw; Tue, 29 Nov 2005 15:47:03 +0100 Received: from [192.168.2.66] (helo=[192.168.2.66]) by center.shared with esmtp (Exim 4.50) id 1Eh6ly-0005Sq-Hj; Tue, 29 Nov 2005 15:47:58 +0100 Message-ID: <438C6A1E.702@ccgis.de> Date: Tue, 29 Nov 2005 15:47:58 +0100 From: Benjamin Thelen User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: "Russell E. Meek" 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> In-Reply-To: <438B21D4.7050907@russellmeek.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.6 (/) Cc: freebsd-questions@freebsd.org 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 14:47:40 -0000 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"