From owner-freebsd-questions@FreeBSD.ORG Tue Mar 4 21:53:38 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 18B4F1065674 for ; Tue, 4 Mar 2008 21:53:38 +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 147FF8FC15; Tue, 4 Mar 2008 21:53:36 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47CDC4DF.704@FreeBSD.org> Date: Tue, 04 Mar 2008 22:53:35 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Dimitri Yioulos References: <284486.87640.qm@web25010.mail.ukl.yahoo.com> <200803041616.45633.dyioulos@firstbhph.com> <47CDBD36.4040103@FreeBSD.org> <200803041646.13475.dyioulos@firstbhph.com> In-Reply-To: <200803041646.13475.dyioulos@firstbhph.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Lib Errors After 6.3 - 7 Update 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, 04 Mar 2008 21:53:38 -0000 Dimitri Yioulos wrote: > On Tuesday 04 March 2008 4:20 pm, Kris Kennaway wrote: >> Dimitri Yioulos wrote: >>> On Tuesday 04 March 2008 3:32 pm, Robert Davison wrote: >>>> I've tried to update 6.3 to 7 using the sh freebsd-update.sh -f >>>> freebsd-update.conf -r 7.0-RELEASE upgrade process. I thought all had >>>> gone well untill I started getting lib-XXX.so4 missing file here and >>>> libphp.so missing there. I'm guessing that the update process has >>>> deleatd some shared libararies which are still required. >>>> >>>> I have the files in question, but instead of XXX.so.4, the file is >>>> called XXX.so.5 >>>> >>>> I followed the instructions to the 'T' but nothing seems to work i.e >>>> MailScanner, apache etc. >>>> >>>> I've tried portupgrade -af to see if I can link the ports to the new lib >>>> files, but alas nothing. >>>> >>>> Anyone got any ideas?? >>> Perhaps someone has a better suggestion for you, but I had a similar >>> issue with regard to installing VMware Tools. In my case, I symlinked >>> libc.so.5 linked to libc.so.6, and the VMware Tools installation >>> proceeded. >> Ah yes, I forgot about bogus advice option 2 :-) >> >> Kris >> _______________________________________________ > > As I said, someone might have a better suggestion, as I'm a relative noob. My > point was to try symlinking your needed library file to that which you find > on your system. I'd think it'd be worth a try. But, hey, if it's bogus > advice (option 2 :-) ), then best of luck. > The reason it's bogus is because we change library versions for good reason: they are incompatible. Sometimes they are incompatible in obvious ways, sometimes in subtle ways. If you need libc.so.5 to run a FreeBSD 5.x binary, install the compat5x port. That is not the solution for the OP though, because at this point he has binaries with an inconsistent set of libraries that needs to be fixed by moving them all to 7.0. Kris