Date: Thu, 27 Feb 2003 09:45:37 -0500 From: Jim Arnold <jarnold@knightridder.com> To: "Jacques A. Vidrine" <nectar@FreeBSD.org>, Kris Kennaway <kris@obsecurity.org> Cc: freebsd-questions@FreeBSD.org Subject: Re: [JArnold@knightridder.com: OpenSSL problem] Message-ID: <a05200f1eba83d4285db2@[192.168.0.4]> In-Reply-To: <20030227142303.GC71291@madman.celabo.org> References: <20030227050529.GB87660@rot13.obsecurity.org> <20030227142303.GC71291@madman.celabo.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > ----- Forwarded message from "James A. Arnold" ><JArnold@knightridder.com> ----- >> Date: Wed, 26 Feb 2003 15:56:17 -0500 >> To: questions@FreeBSD.ORG >> From: "James A. Arnold" <JArnold@knightridder.com> >> 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* spike# ldd /usr/local/bin/wget /usr/local/bin/wget: libintl.so.4 => /usr/local/lib/libintl.so.4 (0x10089000) libssl.so.3 => /usr/local/lib/libssl.so.3 (0x10091000) libcrypto.so.3 => /usr/local/lib/libcrypto.so.3 (0x100bf000) libc.so.4 => /usr/lib/libc.so.4 (0x101aa000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x10243000) spike# objdump -x /usr/local/bin/wget | grep NEEDED /usr/libexec/elf/objdump: /usr/local/bin/wget: no symbols NEEDED libintl.so.4 NEEDED libssl.so.3 NEEDED libcrypto.so.3 NEEDED libc.so.4 spike# ls -l /usr/lib/libcrypto.so* lrwxr-xr-x 1 root wheel 14 Nov 18 22:43 /usr/lib/libcrypto.so -> libcrypto.so.2 -r--r--r-- 1 root wheel 779964 Nov 18 22:43 /usr/lib/libcrypto.so.2 spike# ls -l /usr/local/lib/libcrypto.so* lrwxr-xr-x 1 root wheel 14 Feb 1 09:52 /usr/local/lib/libcrypto.so -> libcrypto.so.3 -r--r--r-- 1 root wheel 1137150 Feb 1 09:52 /usr/local/lib/libcrypto.so.3 >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. To get around this I re-installed wget and it worked. But I'm wondering if anything else is broken or how to really fix this. Thanks! Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a05200f1eba83d4285db2>