Base System Rebuild

Ethan House ewh2048 at rit.edu
Tue Dec 10 08:00:14 UTC 2013


I inherited a FreeBSD 9.2 machine in pretty bad shape. The base system
seems to be all out of whack with missing libraries all over the place. A
reinstall of the OS is not an option as I am many states away from the box
in question. Having no idea what caused this what is the best way to fix
this?

Example:
jake# ldd /usr/bin/ssh
/usr/bin/ssh:
    libssh.so.5 => /usr/lib/libssh.so.5 (0x800842000)
    libutil.so.9 => /lib/libutil.so.9 (0x800a9d000)
    libz.so.6 => /lib/libz.so.6 (0x800cb0000)
    libgssapi.so.10 => not found (0)
    libcrypt.so.5 => /lib/libcrypt.so.5 (0x800ec4000)
    libcrypto.so.6 => /lib/libcrypto.so.6 (0x8010e3000)
    libc.so.7 => /lib/libc.so.7 (0x80148b000)
    libgssapi.so.10 => not found (0)
    libkrb5.so.10 => not found (0)
    libhx509.so.10 => not found (0)
    libasn1.so.10 => not found (0)
    libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x8017e6000)
    libmd.so.5 => /lib/libmd.so.5 (0x8019e8000)
    libroken.so.10 => not found (0)

jake# ssh
Shared object "libgssapi.so.10" not found, required by "ssh"

The user land is worse off but I will deal with that when I can get the
base system fixed.

Thanks for the help,
Ethan House


More information about the freebsd-questions mailing list