Packages on RaspberryPi3


Son of Beastie

Reaction score: 1,156
Messages: 3,304

On the Raspberry Pi3 the images on the FreeBSD download site work for FreeBSD 12.
Problem is no package ABI for aarch64 on 12.0 so you must use this from the RaspBSD site:
env ABI=FreeBSD:11:aarch64 pkg bootstrap
Then add to /usr/local/etc/pkg.conf
ABI = "FreeBSD:11:aarch64";

And now for the new wrinkle:
root@generic:/usr/local # pkg install ytree
Shared object "" not found, required by "pkg"
root@generic:/usr/local # env ABI=FreeBSD:11:aarch64 pkg install ytree
Shared object "" not found, required by "pkg"
My fix was to link it to the previous
root@generic:/usr/local # find / -name '*'
root@generic:/usr/local # ln /usr/lib/ /usr/lib/
root@generic:/usr/local # pkg install ytree
Updating FreeBSD repository catalogue...
pkg: Repository FreeBSD load error: access repo file(/var/db/pkg/repo-FreeBSD.sqlite) failed: No such file or directory
Fetching meta.txz: 100%    944 B   0.9kB/s    00:01  
Fetching packagesite.txz: 100%    5 MiB   2.5MB/s    00:02  
Processing entries: 100%
FreeBSD repository update completed. 24704 packages processed.
It works but I dunno if it is technically correct.