ld-elf.so.1: Shared object "libssl.so.111" not found, required by "pkg"

620 views
Skip to first unread message

Ilkka M

unread,
Jul 7, 2023, 5:59:30 PM7/7/23
to HardenedBSD Users
Hello,

HardenedBSD 14 latest:
hbsd-v1400005-524d2601c4b55201f3bcc7f0e5a8e4bf04f5f8ed

I'm having an issue with missing libssl.so.111 required by pkg itself (also curl, wget etc.)

--
root@pkgrepo:~# pkg
ld-elf.so.1: Shared object "libssl.so.111" not found, required by "pkg"
root@pkgrepo:~# curl
ld-elf.so.1: Shared object "libssl.so.111" not found, required by "libcurl.so.4"
root@pkgrepo:~# wget
ld-elf.so.1: Shared object "libssl.so.111" not found, required by "wget"
--

Luckily `pkg-static` still works:

--
root@pkgrepo:~# pkg-static upgrade
Updating HardenedBSD repository catalogue...
HardenedBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (0 candidates): 100%
Processing candidates (0 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.
--

Looking for the missing library:

--
root@pkgrepo:~# pkg-static which /usr/local/lib/libssl.so.11
/usr/local/lib/libssl.so.11 was installed by package openssl-1.1.1t_2,1
root@pkgrepo:~# pkg-static which /usr/local/lib/libssl.so.111
/usr/local/lib/libssl.so.111 was not found in the database
--

Any advice or just wait for the repo to update?

Shawn Webb

unread,
Jul 7, 2023, 7:46:59 PM7/7/23
to Ilkka M, HardenedBSD Users
This is due to FreeBSD's recent import of OpenSSL 3.0.9 in base for
14-CURRENT. The package repo is currently building[0]. It'll take
around a week or so to complete and then another day to sync.

I'll keep everyone updated when the package repo has been synced. You
can use `pkg-static upgrade -f` to reinstall all packages in order to
pick up the new OpenSSL in base once the package repo is
synced/updated.

[0]:
https://hbsd-pkg-current-01.hardenedbsd.org/build.html?mastername=current-default&build=2023-07-03_15h24m41s

Thanks,

--
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc
signature.asc
Reply all
Reply to author
Forward
0 new messages