Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jan 2009 16:33:21 +0100
From:      cpghost <cpghost@cordula.ws>
To:        "Jack L. Stone" <jacks@sage-american.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Registry corrupt?
Message-ID:  <20090123153321.GC1013@phenom.cordula.ws>
In-Reply-To: <991123400901230656r1dab6e11t4db4aa7eab8d100c@mail.gmail.com>
References:  <3.0.1.32.20090123081931.00ed6460@sage-american.com> <991123400901230656r1dab6e11t4db4aa7eab8d100c@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, Jan 23, 2009 at 05:56:45PM +0300, Odhiambo Washington wrote:
> On Fri, Jan 23, 2009 at 5:19 PM, Jack L. Stone <jacks@sage-american.com>wrote:
> 
> > During an upgrade from fbsd-6.3 --> fbsd-7.0, something strange happened.
> > Some of the programs will not run after rehash or even when given the
> > precise path to the program. System doesn't "see" several but not all
> > programs. I've upgraded several servers (using source files -- cvsup)
> > withoug any such problem. It's just this one machine.

Some programs will not run because of a library version bump. Those
programs will need to be recompiled, i.e. rebuild all ports.

You can check this by running 'ldd' on the specific program. Let's
assume that you have zip installed:

$ ldd /usr/local/bin/zip
/usr/local/bin/zip:
        libbz2.so.3 => /usr/lib/libbz2.so.3 (0x80065c000)
        libc.so.7 => /lib/libc.so.7 (0x80076c000)

If it required libc.so.6 instead of libc.so.7, and there's no
libc.so.6 anymore after the upgrade, you'll need to recompile zip.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20090123153321.GC1013>