After running the following commands # freebsd-update upgrade -r 11.0-RELEASE # freebsd-update install (reboot & again) The system can no longer use pkg: root@freebsd:~ # pkg update Shared object "libssl.so.7" not found, required by "pkg" I tried: root@freebsd:~ # ln -s /usr/lib/libssl.so.8 /usr/lib/libssl.so.7 root@freebsd:~ # pkg update Shared object "libcrypto.so.7" not found, required by "pkg" root@ygg:~ # ln -s /usr/lib/libcrypto.so /usr/lib/libcrypto.so.7 root@ygg:~ # pkg update Shared object "libelf.so.1" not found, required by "pkg" What a mess... This is an almost unmodified install.
As a workaround, you could use pkg-static instead of pkg.
(In reply to Shawn Webb from comment #1) Awesome, thank you! After "pkg-static update" it replied pkg-static: Warning: Major OS version upgrade detected. Running "pkg-static install -f pkg" recommended Which I did and the problem is now resolved. Thanks again. :)
This looks like you deleted the old shared libs before you updated the binaries using them. Your upgrade path should install the new kernel and world, upgrade the ports/packages and delete the old libs last.
It would be quite the approach to tell that to people running these commands on the command line. ;) # freebsd-update install This upgrade step will delete obsolete shared library files. If you are using binary packages, you must run 'pkg-upgrade -f' before continuing. The package manager can also be recovered later by running 'pkg bootstrap -f'. Continue? [y/N]:
for the record pkg boostrap -f would have also solved the problem