Lib Errors After 6.3 - 7 Update

Dimitri Yioulos dyioulos at firstbhph.com
Tue Mar 4 22:00:17 UTC 2008


On Tuesday 04 March 2008 4:53 pm, Kris Kennaway wrote:
> 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
> _______________________________________________


Accepted.  Thanks for the edification.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the freebsd-questions mailing list