• GNU screen libc.so.7 issue

    From Wolfgang Agnes@21:1/5 to All on Fri Nov 1 20:28:04 2024
    I don't understand what's happening here and I would appreciate a
    presentation of how computers and FreeBSD work that makes this happen.
    In particular, I see (via ldd below) that the library libc.so.7 is to be
    found by the linker, but perhaps the loader expected a different one and
    is upset it didn't find it?

    # screen
    ld-elf.so.1: /lib/libc.so.7: version FBSD_1.8 required by /usr/local/bin/screen not found

    # ldd $(which screen)
    /usr/local/bin/screen:
    libncursesw.so.9 => /lib/libncursesw.so.9 (0x2491b92b1000)
    libtinfow.so.9 => /lib/libtinfow.so.9 (0x2491b7dff000)
    libutil.so.9 => /lib/libutil.so.9 (0x2491b84c2000)
    libulog.so.0 => /lib/libulog.so.0 (0x2491b9f04000)
    libcrypt.so.5 => /lib/libcrypt.so.5 (0x2491ba31d000)
    libc.so.7 => /lib/libc.so.7 (0x2491ba6aa000)
    libmd.so.6 => /lib/libmd.so.6 (0x2491bb457000)
    [vdso] (0x2491b7ce3000)

    I first installed screen50-5.0.0 with /pkg install/. Seeing the
    problem, I tried to install /screen49-4.9.1_5/, which I did:

    # pkg which /usr/local/bin/screen
    /usr/local/bin/screen was installed by package screen-4.9.1_5

    --8<-------------------------------------------------------->8--- screen49-4.9.1_5 Multi-screen window manager
    screen50-5.0.0 Multi-screen window manager --8<-------------------------------------------------------->8---

    Both versions display the same problem.

    This is a FreeBSD 14.

    --8<-------------------------------------------------------->8---
    # uname -a
    FreeBSD my.host.name 14.0-RELEASE FreeBSD 14.0-RELEASE #0 releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 05:57:23 UTC 2023 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
    amd64
    --8<-------------------------------------------------------->8---

    Thanks!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John D Groenveld@21:1/5 to wagnes@jemoni.to on Sat Nov 2 22:42:01 2024
    In article <87sesawn3v.fsf@jemoni.to>,
    Wolfgang Agnes <wagnes@jemoni.to> wrote:
    This is a FreeBSD 14.

    --8<-------------------------------------------------------->8---
    # uname -a
    FreeBSD my.host.name 14.0-RELEASE FreeBSD 14.0-RELEASE #0 >releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 05:57:23 UTC 2023 >root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
    amd64

    Does updating to FreeBSD 14.0-RELEASE-p11 resolve the libc.so.7 version mismatch? <URL:https://www.freebsd.org/security/advisories/FreeBSD-SA-24:16.libnv.asc>

    John
    groenveld@acm.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wolfgang Agnes@21:1/5 to John D Groenveld on Sun Nov 3 17:18:43 2024
    groenveld@acm.org (John D Groenveld) writes:

    In article <87sesawn3v.fsf@jemoni.to>,
    Wolfgang Agnes <wagnes@jemoni.to> wrote:
    This is a FreeBSD 14.

    --8<-------------------------------------------------------->8---
    # uname -a
    FreeBSD my.host.name 14.0-RELEASE FreeBSD 14.0-RELEASE #0 >>releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 05:57:23 UTC 2023 >>root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
    amd64

    Does updating to FreeBSD 14.0-RELEASE-p11 resolve the libc.so.7 version mismatch? <URL:https://www.freebsd.org/security/advisories/FreeBSD-SA-24:16.libnv.asc>

    It did not.

    %uname -a
    FreeBSD my.host.name 14.0-RELEASE-p11 FreeBSD 14.0-RELEASE-p11 #0: Wed
    Sep 18 23:01:59 UTC 2024 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

    %screen -v
    ld-elf.so.1: /lib/libc.so.7: version FBSD_1.8 required by /usr/local/bin/screen not found

    Let me know if you other ideas! Thanks so much!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bob Eager@21:1/5 to Wolfgang Agnes on Sun Nov 3 21:33:09 2024
    On Sun, 03 Nov 2024 17:18:43 -0300, Wolfgang Agnes wrote:

    groenveld@acm.org (John D Groenveld) writes:

    In article <87sesawn3v.fsf@jemoni.to>,
    Wolfgang Agnes <wagnes@jemoni.to> wrote:
    This is a FreeBSD 14.

    --8<-------------------------------------------------------->8---
    # uname -a FreeBSD my.host.name 14.0-RELEASE FreeBSD 14.0-RELEASE #0 >>>releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 05:57:23 UTC 2023 >>>root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC >>>amd64

    Does updating to FreeBSD 14.0-RELEASE-p11 resolve the libc.so.7 version
    mismatch?
    <URL:https://www.freebsd.org/security/advisories/FreeBSD- SA-24:16.libnv.asc>

    It did not.

    %uname -a FreeBSD my.host.name 14.0-RELEASE-p11 FreeBSD 14.0-RELEASE-p11
    #0: Wed Sep 18 23:01:59 UTC 2024 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/
    GENERIC
    amd64

    %screen -v ld-elf.so.1: /lib/libc.so.7: version FBSD_1.8 required by /usr/local/bin/screen not found

    Let me know if you other ideas! Thanks so much!

    Try building screen from ports. It may self adjust to your version of
    libc.



    --
    Using UNIX since v6 (1975)...

    Use the BIG mirror service in the UK:
    http://www.mirrorservice.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John D Groenveld@21:1/5 to news0009@eager.cx on Mon Nov 4 00:26:48 2024
    In article <loq8glF1haeU10@mid.individual.net>,
    Bob Eager <news0009@eager.cx> wrote:
    Try building screen from ports. It may self adjust to your version of
    libc.

    Packages from the FreeBSD pkg mirror are likely now being
    linked against FreeBSD 14.1 libc.so.
    I hear echoes of the Wolfgang's bug report in this FreeBSD forum post: <URL:https://forums.freebsd.org/threads/lib-libc-so-7-version-fbsd_1-7-not-found.88663/>
    John
    groenveld@acm.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wolfgang Agnes@21:1/5 to Bob Eager on Mon Nov 4 17:49:28 2024
    Bob Eager <news0009@eager.cx> writes:

    On Sun, 03 Nov 2024 17:18:43 -0300, Wolfgang Agnes wrote:

    groenveld@acm.org (John D Groenveld) writes:

    In article <87sesawn3v.fsf@jemoni.to>,
    Wolfgang Agnes <wagnes@jemoni.to> wrote:
    This is a FreeBSD 14.

    --8<-------------------------------------------------------->8---
    # uname -a FreeBSD my.host.name 14.0-RELEASE FreeBSD 14.0-RELEASE #0 >>>>releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 05:57:23 UTC 2023 >>>>root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC >>>>amd64

    Does updating to FreeBSD 14.0-RELEASE-p11 resolve the libc.so.7 version
    mismatch?
    <URL:https://www.freebsd.org/security/advisories/FreeBSD-
    SA-24:16.libnv.asc>

    It did not.

    %uname -a FreeBSD my.host.name 14.0-RELEASE-p11 FreeBSD 14.0-RELEASE-p11
    #0: Wed Sep 18 23:01:59 UTC 2024
    root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/
    GENERIC
    amd64

    %screen -v ld-elf.so.1: /lib/libc.so.7: version FBSD_1.8 required by
    /usr/local/bin/screen not found

    Let me know if you other ideas! Thanks so much!

    Try building screen from ports. It may self adjust to your version of
    libc.

    Thanks! That did it!

    %screen -v
    Screen version 4.09.01 (GNU) 20-Aug-23

    What was the issue? If I understand it, it seems the GNU screen from
    the pkg-collection was compiled against a libc.so.7 with a certain
    internal version named FBSD_1.8 while my system had a libc.so.7 with an internal version lower than FBSD_1.8. A now-and-then comparison:

    (*) Now

    %strings /lib/libc.so.7 | grep FBSD
    FBSD_1.0
    FBSD_1.1
    FBSD_1.2
    FBSD_1.3
    FBSD_1.4
    FBSD_1.5
    FBSD_1.6
    FBSD_1.7
    FBSD_1.8
    FBSDprivate_1.0

    %which screen
    /usr/local/bin/screen
    %strings /usr/local/bin/screen | grep FBSD
    FBSD_1.0
    FBSD_1.3
    FBSD_1.5
    FBSD_1.7
    FBSD_1.8
    %

    (*) Then

    %strings /usr/local/bin/screen | grep FBSD
    FBSD_1.0
    FBSD_1.3
    FBSD_1.5
    FBSD_1.7
    FBSD_1.8

    %strings /lib/libc.so.7 | grep FBSD
    FBSD_1.0
    FBSD_1.1
    FBSD_1.2
    FBSD_1.3
    FBSD_1.4
    FBSD_1.5
    FBSD_1.6
    FBSD_1.7
    FBSDprivate_1.0

    That suggests that screen evolved a bit quicker than the ``base system''
    (if that's the right name).

    I appreciate the help and any more info anyone might provide. Thanks!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bob Eager@21:1/5 to Wolfgang Agnes on Mon Nov 4 21:31:33 2024
    On Mon, 04 Nov 2024 17:49:28 -0300, Wolfgang Agnes wrote:

    Try building screen from ports. It may self adjust to your version of
    libc.

    Thanks! That did it!

    Glad it worked!



    --
    Using UNIX since v6 (1975)...

    Use the BIG mirror service in the UK:
    http://www.mirrorservice.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wolfgang Agnes@21:1/5 to John D Groenveld on Mon Nov 4 22:42:36 2024
    groenveld@acm.org (John D Groenveld) writes:

    In article <877c9iybaf.fsf@jemoni.to>,
    Wolfgang Agnes <wagnes@jemoni.to> wrote:
    That suggests that screen evolved a bit quicker than the ``base system'' >>(if that's the right name).

    I appreciate the help and any more info anyone might provide. Thanks!

    FreeBSD 14.0 is EOL.
    <URL:https://www.freebsd.org/security/unsupported/>

    Presumably FreeBSD.ORG's pkg build servers are now at 14.1 with the
    newer libc.so.

    You might want to upgrade: <URL:https://www.freebsd.org/releases/14.1R/installation/#upgrade>
    John
    groenveld@acm.org

    Thanks! I upgraded.

    # uname -a
    FreeBSD my.self 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64

    # freebsd-version -kru
    14.1-RELEASE-p5
    14.1-RELEASE-p5
    14.1-RELEASE-p6

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John D Groenveld@21:1/5 to wagnes@jemoni.to on Tue Nov 5 01:15:29 2024
    In article <877c9iybaf.fsf@jemoni.to>,
    Wolfgang Agnes <wagnes@jemoni.to> wrote:
    That suggests that screen evolved a bit quicker than the ``base system''
    (if that's the right name).

    I appreciate the help and any more info anyone might provide. Thanks!

    FreeBSD 14.0 is EOL.
    <URL:https://www.freebsd.org/security/unsupported/>

    Presumably FreeBSD.ORG's pkg build servers are now at 14.1 with the
    newer libc.so.

    You might want to upgrade: <URL:https://www.freebsd.org/releases/14.1R/installation/#upgrade>
    John
    groenveld@acm.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)