From owner-freebsd-ports@FreeBSD.ORG Thu Apr 3 11:18:05 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91A2037B401 for ; Thu, 3 Apr 2003 11:18:05 -0800 (PST) Received: from ns3.ispi.net (ns3.ispi.net [24.123.121.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1392D43FBD for ; Thu, 3 Apr 2003 11:18:05 -0800 (PST) (envelope-from monte@ispi.net) Received: from [10.131.193.2] (wynton.ispi.net [24.123.121.74]) by ns3.ispi.net (Postfix) with ESMTP id 6E3BAF0BB; Thu, 3 Apr 2003 13:18:03 -0600 (CST) From: Monte Ohrt To: Doug Silver In-Reply-To: <200304031012.25929.dsilver@urchin.com> References: <1049391488.25607.21.camel@lena.ispi.prv> <200304031012.25929.dsilver@urchin.com> Content-Type: text/plain Organization: Message-Id: <1049397480.25607.28.camel@lena.ispi.prv> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 03 Apr 2003 13:18:00 -0600 Content-Transfer-Encoding: 7bit cc: freebsd-ports@freebsd.org Subject: Re: problem compiling postfix X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2003 19:18:05 -0000 > > I saw errors like that when compiling mod_php4, which was due to it trying to > link in the libssl and/or libcrypto libraries. You can probably see the > exact error by looking in the config.log file. These libraries are in the > base system and will be installed in /usr/local if you install openssl from > ports. There are a couple of possible solutions: > > 1. Find the patch for /usr/ports/Mk/bsd.port.mk which forces it to use > OPENSSLBASE/USE_OPENSSL_PORT directives in your make.conf file. I have it, > and it's been posted to this list in the past few weeks. > > 2. You could also try temporarily symlinking /usr/lib/libssl.so/libcrypto.so > to the newer versions in /usr/local and see if that fixes it. > > I've done both and things seem to be able to compile and work properly. There > are only a few things in the base system that link against them (sshd, pppd, > etc). I decided to use the ports ssh rather than the base, so this hasn't > been a big inconvenience to work around the openssl library issue. > > HTH. > > -doug > I applied this patch to bsd.port.mk: http://www.freebsd.org/cgi/getmsg.cgi?fetch=681173+688037+/usr/local/www/db/text/2003/freebsd-ports/20030323.freebsd-ports I added this line to /etc/make.conf: USE_OPENSSL_PORT=yes Then did "make distclean; make" in the postfix directory. I got the exact same errors. Did I miss something? TIA Monte