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: Closed Feedback Timeout
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 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-29 02:39 UTC by oitdmser
Modified: 2024-01-19 15:23 UTC (History)
4 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 freebsd_triage 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 freebsd_triage 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 freebsd_triage 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.
Comment 10 Baptiste Daroussin freebsd_committer freebsd_triage 2019-04-19 14:11:41 UTC
not a pkg(8) bug reset assignment
Comment 11 Mark Linimon freebsd_committer freebsd_triage 2020-08-15 03:36:00 UTC
^Triage: is this aging Problem Report still valid?
Comment 12 oitdmser 2020-08-22 18:12:37 UTC
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)
Comment 13 curioustech 2020-09-14 15:28:39 UTC
(In reply to Mark Linimon from comment #11)

This is still an issue even on latest build.

$ startx
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
Comment 14 Mark Linimon freebsd_committer freebsd_triage 2023-08-07 17:37:45 UTC
I'm sorry that I was never able to work on this one.  Return to the pool.

To submitter: should I assume this problem has been fixed?
Comment 15 Mark Linimon freebsd_committer freebsd_triage 2024-01-19 15:23:55 UTC
^Triage: feedback timeout (> 4 months).