Bug 234481 - ports-mgmt/pkg unable to find libssl.so.8 on RPI3 on 12
Summary: ports-mgmt/pkg unable to find libssl.so.8 on RPI3 on 12
Status: In Progress
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.0-RELEASE
Hardware: arm64 Any
: --- Affects Some People
Assignee: freebsd-pkg mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-29 02:39 UTC by oitdmser
Modified: 2019-02-14 01:00 UTC (History)
3 users (show)

See Also:


Attachments
libssl.so.8 error (213.81 KB, image/jpeg)
2019-02-12 03:44 UTC, oitdmser
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description oitdmser 2018-12-29 02:39:19 UTC
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:
	pkg-1.10.5_3

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
Comment 1 oitdmser 2018-12-29 21:42:43 UTC
This only seems to be an issue with the 12-RELEASE
Comment 2 Emmanuel Vadot freebsd_committer 2019-02-10 16:05:49 UTC
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 ?
Comment 3 oitdmser 2019-02-12 03:44:09 UTC
Created attachment 201944 [details]
libssl.so.8 error
Comment 4 oitdmser 2019-02-12 03:45:56 UTC
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.

#su root
#pkg update
...
pkg downloaded, installed, and after extracting the same error 
#ld-elf.so.1: Shared object "libssl.so.8" not found, required by "pkg"
Comment 5 Emmanuel Vadot freebsd_committer 2019-02-12 08:30:21 UTC
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)
Comment 6 oitdmser 2019-02-12 13:21:10 UTC
"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
Comment 7 karl 2019-02-13 17:42:46 UTC
Can confirm FreeBSD 12.0-STABLE r344038 Pi3, built yesterday, gets the same error....
Comment 8 Emmanuel Vadot freebsd_committer 2019-02-13 20:50:37 UTC
Can one of you test quarterly packages ?
The problem for Tier-2(-ish) arches is that we don't update latest packages
Comment 9 oitdmser 2019-02-14 01:00:53 UTC
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.