pkg - symlinks missing

Andreas Schwarz freebsd.asc at strcmp.org
Mon Nov 5 15:32:44 UTC 2018


On Mon, 5 Nov 2018 15:17:21 +0000
"Luis P. Mendes" <luislupe at gmx.com> wrote:

Hi,

> I'm trying FreeBSD 12.0-BETA3 on a RPi 3B+.
> 
> pkg complains about missing libssl.so.8 and libcrypto.so.8.
> Did a couple of symlinks to /usr/lib/libssl.so.111 and 
> /usr/lib/libcrypto.so and it was able to run.
> 
> But when `pkg update`:
> There were two errors:
> 1. /var/db/pkg/repo-FreeBSD.sqlite failed - no such file
> 2. undefined symbol "SSL_load_error_strings" in 
> /usr/local/lib/libpkg.so.4
> 
> 
> It seems that `pkg` needs some love.

Have the same problem at a pine64-lts, seems related to arm64.

You can use "pkg-static" instead, which is linked statically.

Btw. apart from this case, instead of setting symlinks, it's better to use libmap
(/etc/libmap.conf).

-asc


More information about the freebsd-arm mailing list