Registry corrupt?

cpghost cpghost at cordula.ws
Fri Jan 23 07:30:31 PST 2009


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 at 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/


More information about the freebsd-questions mailing list