I am updating a legacy FreeBSD 7.4-RELEASE system to 8.4-RELEASE (hey, better late then never!) using
I followed the instructions at https://www.freebsd.org/releases/8.4R/installation.html , and did the following:
ssh isn't the only thing broken. Other utilities such as
How can I restore the missing libraries? I see /lib/libcrypto.so.5 but not libcrypto.so.6.
I do not use OpenSSL from ports. I only use OpenSSL from the base system.
freebsd-update.I followed the instructions at https://www.freebsd.org/releases/8.4R/installation.html , and did the following:
freebsd-update upgrade -r 8.4-RELEASE- merge many files
- Update system and reboot to load new kernel:
freebsd-update install, followed byshutdown -r now - Update userland components, using:
freebsd-update install& reboot again. - And then I was going to update all ports on my system. But I never made it this far because I can't ssh into the system.
Code:
host# /etc/rc.d/sshd restart
You already have an RSA host key in /etc/ssh/ssh_host_key
Skipping protocol version 1 RSA Key Generation
You already have a DSA host key in /etc/ssh/ssh_host_dsa_key
Skipping protocol version 2 DSA Key Generation
You already have an RSA host key in /etc/ssh/ssh_host_rsa_key
Skipping protocol version 2 RSA Key Generation
/libexec/ld-elf.so.1: Shared object "libcrypto.so.6" not found, required by "ssh-keygen"
Performing sanity check on sshd configuration.
/libexec/ld-elf.so.1: Shared object "libcrypto.so.6" not found, required by "sshd"
/etc/rc.d/sshd: WARNING: failed precmd routine for sshd
ssh isn't the only thing broken. Other utilities such as
portsnap fail because it too cannot find libcrypto.so.6, pkg_info fails because it can't find libssl.so.6. How can I restore the missing libraries? I see /lib/libcrypto.so.5 but not libcrypto.so.6.
I do not use OpenSSL from ports. I only use OpenSSL from the base system.