I am upgrading from release 11.2p4 (pkg 1.10.5_5) to 12.0 p10
I follow the instructions https://www.freebsd.org/releases/12.0R/installation.html
After the last "freebsd-update install" pkg doesn't work any more:
ld-elf.so.1: Shared object "libarchive.so.6" not found, required by "pkg"
I know this is a bug so i followed the instruction https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239498
The error still occurs when running pkg (1.11.1).
When I run ldd
The work around I found:
But for me this is not the solution.
I follow the instructions https://www.freebsd.org/releases/12.0R/installation.html
After the last "freebsd-update install" pkg doesn't work any more:
ld-elf.so.1: Shared object "libarchive.so.6" not found, required by "pkg"
I know this is a bug so i followed the instruction https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239498
Code:
pkg-static install -f pkg
When I run ldd
Code:
/usr/sbin/pkg:
libarchive.so.7 => /usr/lib/libarchive.so.7 (0x80024d000)
libfetch.so.6 => /usr/lib/libfetch.so.6 (0x80030f000)
libprivateucl.so.1 => /usr/lib/libprivateucl.so.1 (0x800324000)
libsbuf.so.6 => /lib/libsbuf.so.6 (0x800348000)
libcrypto.so.111 => /lib/libcrypto.so.111 (0x80034e000)
libssl.so.111 => /usr/lib/libssl.so.111 (0x80063b000)
libc.so.7 => /lib/libc.so.7 (0x8006d0000)
libz.so.6 => /lib/libz.so.6 (0x800ac3000)
libbz2.so.4 => /usr/lib/libbz2.so.4 (0x800add000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0x800af2000)
libbsdxml.so.4 => /lib/libbsdxml.so.4 (0x800b1d000)
libm.so.5 => /lib/libm.so.5 (0x800b49000)
libthr.so.3 => /lib/libthr.so.3 (0x800b7b000)
Code:
root@WEB1:/usr/lib # ln -s libarchive.so.7 libarchive.so.6
root@WEB1:/usr/lib # ln -s libssl.so.111 libssl.so.8
root@WEB1:/lib # ln -s libcrypto.so.111 libcrypto.so.8
But for me this is not the solution.