Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2025 15:55:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 284264] ports-mgmt/pkg after upgrade to 2.0 check -d reports missing system libs
Message-ID:  <bug-284264-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284264

            Bug ID: 284264
           Summary: ports-mgmt/pkg after upgrade to 2.0 check -d reports
                    missing system libs
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: oleg@pcbtech.ru
          Assignee: pkg@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)

Hello to all

# /usr/ports/ports-mgmt/pkg $ pkg check -d pkg
Checking pkg: 100%
pkg is missing a required shared library: libz.so.6
pkg is missing a required shared library: libutil.so.9
pkg is missing a required shared library: libthr.so.3
pkg is missing a required shared library: libssl.so.30
pkg is missing a required shared library: libm.so.5
pkg is missing a required shared library: libjail.so.1
pkg is missing a required shared library: libelf.so.2
pkg is missing a required shared library: libcrypto.so.30
pkg is missing a required shared library: libc.so.7
pkg is missing a required shared library: libarchive.so.7

# /usr/ports/ports-mgmt/pkg $ pkg check -s pkg
Checking pkg: 100%

but in reality everything's ok:

# ldd /usr/local/sbin/pkg*
/usr/local/sbin/pkg:
        libelf.so.2 =3D> /lib/libelf.so.2 (0x2b9ca46e0000)
        libjail.so.1 =3D> /lib/libjail.so.1 (0x2b9ca5762000)
        libm.so.5 =3D> /lib/libm.so.5 (0x2b9ca5193000)
        libarchive.so.7 =3D> /usr/lib/libarchive.so.7 (0x2b9ca6401000)
        libz.so.6 =3D> /lib/libz.so.6 (0x2b9ca7111000)
        libutil.so.9 =3D> /lib/libutil.so.9 (0x2b9ca829e000)
        libssl.so.30 =3D> /usr/lib/libssl.so.30 (0x2b9ca80a5000)
        libcrypto.so.30 =3D> /lib/libcrypto.so.30 (0x2b9ca8f47000)
        libthr.so.3 =3D> /lib/libthr.so.3 (0x2b9ca9504000)
        libc.so.7 =3D> /lib/libc.so.7 (0x2b9cab1da000)
        libbz2.so.4 =3D> /usr/lib/libbz2.so.4 (0x2b9caa31d000)
        liblzma.so.5 =3D> /usr/lib/liblzma.so.5 (0x2b9cac3bd000)
        libbsdxml.so.4 =3D> /lib/libbsdxml.so.4 (0x2b9cad659000)
        libprivatezstd.so.5 =3D> /usr/lib/libprivatezstd.so.5 (0x2b9cad0040=
00)
        libmd.so.6 =3D> /lib/libmd.so.6 (0x2b9caddc2000)
        [vdso] (0x2b9ca3b5a000)

Surely tried reinstall from within its ports catalog but all in vain.
Seems to me that pkg 2.0 stops taking into account system libraries.

system is up-to-date ports & kernel 14.2-RELEASE FreeBSD 14.2-RELEASE
releng/14.2-n269506-c8918d6c7412 GENERIC amd64

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284264-32340>