From owner-freebsd-questions@FreeBSD.ORG Wed Jan 9 00:51:50 2008 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 7469716A41A for ; Wed, 9 Jan 2008 00:51:50 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CC20B13C44B; Wed, 9 Jan 2008 00:51:49 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47841AA4.6030201@FreeBSD.org> Date: Wed, 09 Jan 2008 01:51:48 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Schiz0 References: <8d23ec860801081625l597ab5fcx18970bde74a13692@mail.gmail.com> <47841641.5070204@FreeBSD.org> <8d23ec860801081637o4dc03d8dr97c5dfa6c79b30f2@mail.gmail.com> In-Reply-To: <8d23ec860801081637o4dc03d8dr97c5dfa6c79b30f2@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: Upgrade to 7.0; Shared Object Not Found 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: Wed, 09 Jan 2008 00:51:50 -0000 Schiz0 wrote: > On Jan 8, 2008 7:33 PM, Kris Kennaway wrote: >> Schiz0 wrote: >>> Hey, >>> >>> I recently upgraded from 6.3-PRERELEASE to 7.0-PRERELEASE >>> >>> # uname -a >>> FreeBSD Mercury 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Tue Jan 8 >>> 15:07:49 EST 2008 >>> root@Mercury:/usr/obj/usr/src/sys/SCHIZ0NET_MERCURY i38 >>> >>> >>> Now, whenever I run any various commands, I get various errors: >>> >>> # vim >>> /libexec/ld-elf.so.1: Shared object "libncurses.so.6" not found, >>> required by "vim" >>> # portupgrade >>> /libexec/ld-elf.so.1: Shared object "libcrypt.so.3" not found, >>> required by "ruby18" >>> # bash >>> /libexec/ld-elf.so.1: Shared object "libncurses.so.6" not found, >>> required by "bash" >>> And so on... >>> >>> It had me locked out at first because my default shell is bash. But I >>> got it working with /bin/csh now. >>> >>> So. Apparently I'm missing some shared objects. Can anyone shed any >>> light on the issue? Or guide me on how to fix it? >> Part of the upgrade that you omitted was to install new 7.0 versions of >> your installed ports. portupgrade -fa or -faP. >> >> Kris >> >> > > The only problem with that is I'm unable to run portupgrade :-\ > > # portupgrade -fa > /libexec/ld-elf.so.1: Shared object "libcrypt.so.3" not found, > required by "ruby18" > > So do I have to deinstall and reinstall portupgrade (and the ports > that it depends on)? Well if you just did the upgrade then you should still have the old libraries to use as an interim measure while you rebuild. How did you go about upgrading, and can you think of anything you did that may have deleted them? Kris