Sujet : GNU screen libc.so.7 issue
De : wagnes (at) *nospam* jemoni.to (Wolfgang Agnes)
Groupes : comp.unix.bsd.freebsd.miscDate : 02. Nov 2024, 00:28:04
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <87sesawn3v.fsf@jemoni.to>
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!