I installed FreeBSD into Raspberry pi 3, but after downloading and extracting ports tree from portsnap. Now, I also installed pkg (ports-management) binary for binary installation. But, after installation of pkg i tried lots of others binary installation using pkg but it throws an error
[root@rpi3 /usr/ports/net]# pkg
Shared object "libarchive.so.6" not found, required by "pkg"
[root@rpi3 /usr/ports/net]# uname -a
FreeBSD rpi3 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r318898M: Thu May 25 15:07:15 MDT 2017 raspberry@hive.raspbsd.org:/usr/home/brd/rpi3/crochet/work/obj/arm64.aarch64/usr/src/sys/GENERIC arm64
[root@rpi3 /usr/ports/net]#
Shared object "libarchive.so.6" not found, required by "pkg"
I tried updating or reinstalling it using pkg-static bootstrap -f but nothing happened.
I also tried re-installation from ports tree,but again nothing happened.
I also followed this below link , but nothing works.
Shared object “libarchive.so.5” not found, required by “pkg”