From owner-freebsd-questions@FreeBSD.ORG Tue Sep 14 07:48:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02DA7106566C for ; Tue, 14 Sep 2010 07:48:59 +0000 (UTC) (envelope-from benno@NLnetLabs.nl) Received: from open.nlnetlabs.nl (open.nlnetlabs.nl [IPv6:2001:7b8:206:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6F1DC8FC17 for ; Tue, 14 Sep 2010 07:48:58 +0000 (UTC) Received: from aluminum.nlnetlabs.nl (aluminum.nlnetlabs.nl [IPv6:2001:7b8:206:1:21b:63ff:feb8:a9eb]) (authenticated bits=0) by open.nlnetlabs.nl (8.14.4/8.14.3) with ESMTP id o8E7mur8091875 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 14 Sep 2010 09:48:57 +0200 (CEST) (envelope-from benno@NLnetLabs.nl) Message-ID: <4C8F28E8.30007@NLnetLabs.nl> Date: Tue, 14 Sep 2010 09:48:56 +0200 From: Benno Overeinder User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (open.nlnetlabs.nl [IPv6:2001:7b8:206:1::1]); Tue, 14 Sep 2010 09:48:57 +0200 (CEST) X-Spam-Status: No, score=-100.3 required=5.0 tests=AWL,BAYES_00, TO_NO_BRKTS_DIRECT,T_RP_MATCHES_RCVD,USER_IN_WHITELIST autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on open.nlnetlabs.nl Subject: freebsd 6.4 -> 7.3 upgrade failure, ports openssl, and libz.so.3 versus libz.so.4 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, 14 Sep 2010 07:48:59 -0000 Hi, I am upgrading a system from freebsd 6.4 to freebsd 7.3 from source. On this system, the ports openssl package has been installed. With the make buildworld, the compilation of sendmail fails with the message: /usr/obj/usr/src/tmp/usr/bin/ld: warning: libz.so.3, needed by /usr/local/lib/libssl.so, not found (try using -rpath or -rpath-link) Problem is that the new kernel is expecting (or compiling the sources against) libz.so.4 (/usr/obj/usr/src/lib/libz/libz.so.4). libz.so.3 is available in /lib/libz.so.3 (FreeBSD 6.4). Is there any way to break this dependency, such that the make buildworld completes successfully? It is openssl from ports depending on libz.so.3 of FreeBSD 6.4, sendmail is compiled with openssl from ports for FreeBSD 7.3, which provides libz.so.4... The upgrade path 6.4 -> 7.3 with ports openssl is probably not unique, others will have a similar upgrade path. Can I specify something (/etc/make.conf?) such that 'make buildworld' makes use of base openssl and not ports openssl? Or should I uninstall ports openssl (and recompile half of my ports, and later again recompile all for freebsd 7.3)? Any suggestions are welcome. Thanks, -- Benno