From owner-freebsd-questions Thu Feb 27 6:23: 7 2003 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 68F1A37B401 for ; Thu, 27 Feb 2003 06:23:05 -0800 (PST) Received: from gw.nectar.cc (gw.nectar.cc [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9408543FB1 for ; Thu, 27 Feb 2003 06:23:04 -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 80B672C; Thu, 27 Feb 2003 08:23:03 -0600 (CST) Received: by madman.celabo.org (Postfix, from userid 1001) id 4F9EE78C3E; Thu, 27 Feb 2003 08:23:03 -0600 (CST) Date: Thu, 27 Feb 2003 08:23:03 -0600 From: "Jacques A. Vidrine" To: "James A. Arnold" , Kris Kennaway Cc: freebsd-questions@FreeBSD.org Subject: Re: [JArnold@knightridder.com: OpenSSL problem] Message-ID: <20030227142303.GC71291@madman.celabo.org> Mail-Followup-To: "Jacques A. Vidrine" , "James A. Arnold" , Kris Kennaway , freebsd-questions@FreeBSD.org References: <20030227050529.GB87660@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030227050529.GB87660@rot13.obsecurity.org> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.3i-ja.1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Feb 26, 2003 at 09:05:32PM -0800, Kris Kennaway wrote: > FYI Thanks, Kris! Hi James, > ----- Forwarded message from "James A. Arnold" ----- > Date: Wed, 26 Feb 2003 15:56:17 -0500 > To: questions@FreeBSD.ORG > From: "James A. Arnold" > Subject: OpenSSL problem > > I now get this error when trying to run a shell program using wget > > /usr/libexec/ld-elf.so.1: /usr/local/bin/wget: Undefined symbol > "OpenSSL_add_all_algorithms" > > any idea how to fix this? must have started when I update OpenSSL or > some such nonsense. > Please also reply to me email address as I can no longer subscribe to the > list. Here's what is happening: wget was compiled with OpenSSL 0.9.6. But now that you run it, it is finding OpenSSL 0.9.7 (which is not binary compatibile). To determine why that is, the output from the following will be helpful: % ldd /usr/local/bin/wget % objdump -x /usr/local/bin/wget | grep NEEDED % ls -l /usr/lib/libcrypto.so* % ls -l /usr/local/lib/libcrypto.so* This is what I guess: At some time in the past, you installed the OpenSSL port, and then you built the wget port. Now, perhaps you've removed the OpenSSL port. This leaves a very confused wget: It wants OpenSSL 0.9.6 to be called libcrypto.so.3. Cheers, -- Jacques A. Vidrine http://www.celabo.org/ NTT/Verio SME . FreeBSD UNIX . Heimdal Kerberos jvidrine@verio.net . nectar@FreeBSD.org . nectar@kth.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message