Solved PKG problem: libssl.so.111 required by libfetch.so.6

sajigol919

New Member

Reaction score: 2
Messages: 9

Hello experts,

I have a nginx jail (created with ezjail), but every time I want to install a pkg package I get this error message:
Code:
Shared object "libssl.so.111" not found, required by "libfetch.so.6"


Reading similar issues posted on this forum, they generally relate to a mismatch between the jail and the host system, but as far as I can see they're both the same:
Host uname -a
Code:
# uname -a
FreeBSD  12.1-RELEASE-p1 FreeBSD 12.1-RELEASE-p1 GENERIC  amd64


Jail uname -a
Code:
root@nginx:~ # uname -a
FreeBSD nginx 12.1-RELEASE-p1 FreeBSD 12.1-RELEASE-p1 GENERIC  amd64


The host system has been updated with
Code:
# freebsd-update fetch install
and ezjail with
Code:
# ezjail-admin update -u


I have tried
- pkg-static install -f pkg
- to change the package 'cut-off' from Quarterly to Latest in /etc/pkg/FreeBSD.conf (both on the host and jail)
- /usr/sbin/pkg bootstrap -f (in jail)

But whatever I do, the above libssl.so.111 error is not going away in the jail.

Any ideas where the problem is / could be, and how to fix this?

Thanks, Saji
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 9,813
Messages: 34,975

Reading similar issues posted on this forum, they generally relate to a mismatch between the jail and the host system, but as far as I can see they're both the same:
Jails don't have a kernel, they run on the host's kernel. So don't look at the uname(1) output, it's always the same because you're looking at the kernel (there's only one kernel). Check with freebsd-version(1).
 

Zirias

Daemon

Reaction score: 495
Messages: 1,015

Well, /usr/lib/libssl.so.111 is part of FreeBSD 12.1, so somehow, your jail got damaged…
 
Top