Re: problems on new -current install with pkg/ssl

From: void <void_at_f-m.fm>
Date: Sun, 09 Jul 2023 16:27:35 UTC
On Sun, Jul 09, 2023 at 05:17:38PM +0100, void wrote:
>Hi,
>
>On a fresh 14-current install (main-n263444-653738e895ba)
>I try to use pkg for anything and this error
>happens:
>
># pkg install doas
>The package management tool is not yet installed on your system.
>Do you want to fetch and install it now? [y/N]: y
>Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:14:amd64/latest, please wait...
>Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
>Installing pkg-1.19.2...
>Newer FreeBSD version for package pkg:
>To ignore this error set IGNORE_OSVERSION=yes
>- package: 1400092
>- running kernel: 1400090
>Ignore the mismatch and continue? [y/N]: y
>Extracting pkg-1.19.2: 100%
>ld-elf.so.1: Shared object "libssl.so.30" not found, required by "pkg"
>
>How can I fix?

I was able to fix this by downloading https://download.freebsd.org/ports/ports/ports.tar.xz
manually to /usr and building from the ports tree

--