From owner-freebsd-stable@FreeBSD.ORG Thu Mar 27 06:29:24 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 277A337B401; Thu, 27 Mar 2003 06:29:24 -0800 (PST) Received: from gw.nectar.cc (gw.nectar.cc [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 587D943F3F; Thu, 27 Mar 2003 06:29:21 -0800 (PST) (envelope-from nectar@celabo.org) Received: from madman.celabo.org (madman.celabo.org [10.0.1.111]) by gw.nectar.cc (Postfix) with ESMTP id BC40F2E; Thu, 27 Mar 2003 08:29:20 -0600 (CST) Received: by madman.celabo.org (Postfix, from userid 1001) id A255C78C43; Thu, 27 Mar 2003 08:29:20 -0600 (CST) Date: Thu, 27 Mar 2003 08:29:20 -0600 From: "Jacques A. Vidrine" To: Tim Robbins Message-ID: <20030327142920.GA98791@madman.celabo.org> References: <20030327232306.A62337@dilbert.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030327232306.A62337@dilbert.robbins.dropbear.id.au> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.3i-ja.1 X-Spam-Status: No, hits=-30.5 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: stable@freebsd.org Subject: Re: ABI breakage X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2003 14:29:25 -0000 On Thu, Mar 27, 2003 at 11:23:06PM +1100, Tim Robbins wrote: > wget broke after updating a 4.7 box to 4.8-RC: > > $ wget http://localhost/ > --23:20:19-- http://localhost/ > => `index.html' > /usr/libexec/ld-elf.so.1: wget: Undefined symbol "OpenSSL_add_all_algorithms" You have probably been bitten by the fact that the OpenSSL _port_ had the wrong version number, and that wget was compiled against the OpenSSL _port_. Now at runtime, wget finds the base system OpenSSL libraries (which are 0.9.7, not 0.9.6 as wget expects). You might try the following hack to work around the problem. 1) Rename the old port's libraries. mv /usr/local/lib/libssl.so.3 /usr/local/lib/libSsl.so.3 mv /usr/local/lib/libcrypto.so.3 /usr/local/lib/libCrypto.so.3 2) Patch up your old binaries to refer to the modified names. ed -s /path/to/wget >/dev/null <<-EOF /libcrypto\.so/ s/libcrypto\.so\.\([0-9]\)/libCrypto.so.\1/ /libssl\.so/ s/libssl\.so\.\([0-9]\)/libSsl.so.\1/ w EOF Or another possibility might be simply env LD_LIBRARY_PATH=/usr/local/lib wget ... but that gets tiresome :-) Cheers, -- Jacques A. Vidrine http://www.celabo.org/ NTT/Verio SME . FreeBSD UNIX . Heimdal Kerberos jvidrine@verio.net . nectar@FreeBSD.org . nectar@kth.se