View previous topic :: View next topic |
Author |
Message |
Lovot Tux's lil' helper
Joined: 04 Aug 2015 Posts: 87
|
Posted: Thu Jan 09, 2025 7:02 am Post subject: xz: /lib64/liblzma.so.5: version `XZ_5.6.0' not found |
|
|
Code: | ~# xz
xz: /lib64/liblzma.so.5: version `XZ_5.6.0' not found (required by xz) |
XZ somehow broke, tried removing. and reinstalling it, no joy, can't update anything because Portage packages are all XZ archives (aside from XZ itself, which is a GZ archive for obvious reasons), any idea what's causing this? |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 2099
|
Posted: Thu Jan 09, 2025 8:01 am Post subject: |
|
|
Please share emerge --info.
What happens when you reinstall xz? Does it build and install fine, just still doesn't work? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23037
|
Posted: Thu Jan 09, 2025 2:55 pm Post subject: |
|
|
Also show the output of emerge --pretend --verbose app-arch/xz-utils, so we can see exactly which xz you are using and its options. I ask since some people applied local masks in the wake of the xz backdoor, and may still have those masks active now. |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2891
|
Posted: Thu Jan 09, 2025 3:09 pm Post subject: |
|
|
Code: | /lib64/liblzma.so.5 | Considering that current xz-utils installs to /usr/lib64 (not /lib64 regardless of split or merged-usr), this sounds like either a old version or potentially orphaned library assuming that this is not a merged-usr system (haven't seen emerge --info yet) |
|
Back to top |
|
|
Lovot Tux's lil' helper
Joined: 04 Aug 2015 Posts: 87
|
Posted: Fri Jan 10, 2025 3:07 am Post subject: |
|
|
Ionen: I didn't catch that it was looking in /lib64/ at all, renaming the liblzma.so.5 instance located there so XZ can't find it immediately fixed XZ
Would it be fine to replace /lib64 with a softlink to /usr/lib64 like /lib32 is a softlink to /lib so programs stop trying to use massively outdated libraries? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23037
|
Posted: Fri Jan 10, 2025 3:52 pm Post subject: |
|
|
No, because there should not be any massively outdated libraries in /lib64. Portage manages that directory, so if you have stale files in that directory, something is very wrong and needs to be fixed.
On my current amd64 system, /lib32 does not exist at all. It is not a symlink to anything. Therefore, it is strange to me that you have it as a symlink to /lib. Is this a very old system? What is the output of namei -l /{,usr/}{lib,lib32,lib64}; emerge --info? |
|
Back to top |
|
|
Lovot Tux's lil' helper
Joined: 04 Aug 2015 Posts: 87
|
Posted: Fri Jan 10, 2025 10:57 pm Post subject: |
|
|
Code: |
~# namei -l /{,usr/}{lib,lib32,lib64}; emerge --info
f: /lib
drwxr-xr-x root root /
drwxr-xr-x root root lib
f: /lib32
drwxr-xr-x root root /
lrwxrwxrwx root root lib32 -> lib
drwxr-xr-x root root lib
f: /lib64
drwxr-xr-x root root /
drwxr-xr-x root root lib64
f: /usr/lib
drwxr-xr-x root root /
drwxr-xr-x root root usr
drwxr-xr-x root root lib
f: /usr/lib32
drwxr-xr-x root root /
drwxr-xr-x root root usr
lrwxrwxrwx root root lib32 -> lib
drwxr-xr-x root root lib
f: /usr/lib64
drwxr-xr-x root root /
drwxr-xr-x root root usr
drwxr-xr-x root root lib64
Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-14, glibc-2.40-r7, 6.11.7-gentoo x86_64)
=================================================================
System uname: Linux-6.11.7-gentoo-x86_64-AMD_Ryzen_7_2700X_Eight-Core_Processor-with-glibc2.40
KiB Mem: 32787380 total, 7624668 free
KiB Swap: 104856572 total, 102605216 free
Timestamp of repository gentoo: Wed, 08 Jan 2025 18:15:00 +0000
Head commit of repository gentoo: 3fa43859e307c3976f8f0de3243c9cebb043796a
Head commit of repository palemoon: 026940774e98cae68943946f189a1964d1f8723e
sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils: 1.3.8::gentoo
app-shells/bash: 5.2_p37::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake: 1.11.6-r3::gentoo, 1.14.1-r2::gentoo, 1.17-r1::gentoo
dev-build/cmake: 3.31.3::gentoo
dev-build/libtool: 2.5.4::gentoo
dev-build/make: 4.4.1-r100::gentoo
dev-build/meson: 1.6.1::gentoo
dev-java/java-config: 2.3.4::gentoo
dev-lang/perl: 5.40.0-r1::gentoo
dev-lang/python: 2.7.18_p16-r2::gentoo, 3.11.11_p1::gentoo, 3.12.8_p1::gentoo, 3.13.1_p1::gentoo, 3.13.1_p1-r100::gentoo
dev-lang/rust: 1.82.0-r100::gentoo, 1.83.0-r1::gentoo
dev-lang/rust-bin: 1.81.0-r100::gentoo, 1.82.0-r100::gentoo, 1.83.0::gentoo
llvm-core/clang: 18.1.8-r6::gentoo, 19.1.6::gentoo
llvm-core/lld: 18.1.8::gentoo, 19.1.6::gentoo
llvm-core/llvm: 18.1.8-r6::gentoo, 19.1.6::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/openrc: 0.56::gentoo
sys-apps/sandbox: 2.42::gentoo
sys-devel/binutils: 2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc: 6.4.0-r5::gentoo, 7.3.0-r6::gentoo, 10.5.0::gentoo, 14.2.1_p20241221::gentoo
sys-devel/gcc-config: 2.12.1::gentoo
sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers)
sys-libs/glibc: 2.40-r7::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.namerica.gentoo.org/gentoo-portage
priority: -1000
volatile: True
sync-rsync-verify-jobs: 1
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-max-age: 3
localrepo
location: /raid1/fxstorage/db/repos/localrepo
masters: gentoo
volatile: True
x-portage
location: /usr/local/portage
masters: gentoo
priority: 0
volatile: True
palemoon
location: /var/lib/layman/palemoon
sync-type: git
sync-uri: https://github.com/deu/palemoon-overlay.git
masters: gentoo
priority: 50
volatile: True
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=x86-64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=x86-64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus dri dts dvd dvdr elogind encode exif flac gcj gdbm gif gpm gtk gui iconv icu ipv6 jpeg kf6compat lcms libnotify libtirpc llvm lm_sensors mad mate mmx mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmax openmp osmesa pam pango pcre pdf png policykit ppds qml qt5 qt6 radeonsi readline sdl seccomp sound spell split-usr sse sse2 ssl startup-notification svg symlinkthreads test-rust threads tiff truetype udev udisks unicode upower usb vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64 32" ADA_TARGET="gcc_13" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="i386-pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="radeonsi radeon r600 amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
|
There are things in /lib64 from 2020, although the actual system is older than that. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|