This issue is similar to bug #233225 except I'm having trouble with the ARM builds. Here's the situation:
Fresh download of FreeBSD-12.0-STABLE-arm64-aarch64-RPI3-20181226-r342545 from https://download.freebsd.org/ftp/snapshots/arm64/aarch64/ISO-IMAGES/12.0/FreeBSD-12.0-STABLE-arm64-aarch64-RPI3-20181226-r342545.img.xz installed on a microSD card. The raspberry pi 3 boots to a prompt fine and I can login fine. When I try to run any pkg command the following happens:
# pkg upgrade
ld-elf.so.1: Shared object "libssl.so.8" not found, required by "pkg"
on a suggestion somewhere else I ran the following:
pkg-static update -f
pkg-static upgrade -f
both commands finish sucessully with pkg-static upgrade -f resulting in:
The following 1 package(s) will be affected (of 0 checked):
Installed packages to be REINSTALLED:
Number of packages to be reinstalled: 1
Proceed with this action? [y/N]: y
clicking y and reinstalling pkg succeeds, but does not fix the libssl.so.8 issue
This only seems to be an issue with the 12-RELEASE
I just tested on PINE64-LTS (but result should be the same on RPI3) and I don't have this problem.
I think that the quarterly packages when you tested where outdated.
Can you test again please ?
Created attachment 201944 [details]
Tried again with the most recent build FreeBSD-12.0-STABLE-arm64-aarch64-RPI3-20190207-r343863.img.xz. Problem still exists. Fresh install of the above image to a card and booted.
pkg downloaded, installed, and after extracting the same error
#ld-elf.so.1: Shared object "libssl.so.8" not found, required by "pkg"
On 2018-12-29 21:42:43 UTC you said that this was only a problem with 12.0-RELEASE.
I think that STABLE uses latest packages, which aren't updated for aarch64, can you try using quarterly packages ? (Just edit /etc/pkg/FreeBSD.conf)
"On 2018-12-29 21:42:43 UTC you said that this was only a problem with 12.0-RELEASE.
I think that STABLE uses latest packages, which aren't updated for aarch64, can you try using quarterly packages ? (Just edit /etc/pkg/FreeBSD.conf)"
I goofed when I said it was an issue with 12-RELEASE. When I posted that I meant to say 12-RELASE is the only one that works, 12-STABLE has issues. I am currently running 12-RELEASE with no problems
Can confirm FreeBSD 12.0-STABLE r344038 Pi3, built yesterday, gets the same error....
Can one of you test quarterly packages ?
The problem for Tier-2(-ish) arches is that we don't update latest packages
Id be happy to. Where do I find the quarterlies? I've just been downloading the latest 12-STABLE from https://download.freebsd.org/ftp/snapshots/arm64/aarch64/ISO-IMAGES/12.0/ I'm just not sure where to find the ISO images of quarterlies.
not a pkg(8) bug reset assignment
^Triage: is this aging Problem Report still valid?
Unfortunately since then I've been using Debian to take advantage of the better support for the Raspberry Pi and I no longer have a BSD version running so cannot confirm or deny the presence of this issue.(In reply to Mark Linimon from comment #11)
(In reply to Mark Linimon from comment #11)
This is still an issue even on latest build.
xauth: file /home/pranav/.serverauth.1096 does not exist
ld-elf.so.1: Shared object "libcrypto.so.8" not found, required by "X"
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
$ uname -a
FreeBSD generic 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC arm64
Also please note that I already tried executing following two commands which didn't help.
pkg-static install security/openssl
pkg-static install -f pkg