/usr/bin/ld: error: /lib/x86_64-linux-gnu/libkeyutils.so.1: file too short
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
keyutils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Trying to compile weechat from source:
root@voltron ~/weechat/build # cmake .. -DCMAKE_
-- Checking for one of the modules 'php8;php7'
-- Configuring done
-- Generating done
-- Build files have been written to: /root/weechat/build
=======
root@voltron ~/weechat/build # make -j7
Consolidate compiler generated dependencies of target buflist
Consolidate compiler generated dependencies of target weechat_
Consolidate compiler generated dependencies of target alias
Consolidate compiler generated dependencies of target weechat_plugins
Consolidate compiler generated dependencies of target charset
File config-git.h is up-to-date (git version: "v4.2.0-
[ 4%] Built target translations
[ 4%] Built target version_git
Consolidate compiler generated dependencies of target exec
Consolidate compiler generated dependencies of target fifo
[ 5%] Built target weechat_
[ 7%] Built target weechat_plugins
[ 9%] Built target exec
[ 11%] Built target alias
[ 13%] Built target buflist
Consolidate compiler generated dependencies of target logger
Consolidate compiler generated dependencies of target fset
Consolidate compiler generated dependencies of target irc
Consolidate compiler generated dependencies of target script
Consolidate compiler generated dependencies of target relay
[ 16%] Built target logger
Consolidate compiler generated dependencies of target perl
[ 17%] Built target perl
Consolidate compiler generated dependencies of target python
[ 18%] Built target python
Consolidate compiler generated dependencies of target ruby
[ 22%] Built target script
[ 24%] Built target ruby
[ 37%] Built target irc
[ 42%] Built target relay
Consolidate compiler generated dependencies of target tcl
Consolidate compiler generated dependencies of target lua
[ 43%] Built target charset
Consolidate compiler generated dependencies of target guile
Consolidate compiler generated dependencies of target php
Consolidate compiler generated dependencies of target spell
[ 45%] Built target tcl
[ 45%] Built target lua
[ 46%] Built target guile
Consolidate compiler generated dependencies of target trigger
Consolidate compiler generated dependencies of target typing
Consolidate compiler generated dependencies of target xfer
[ 49%] Built target spell
[ 50%] Built target php
[ 51%] Built target typing
[ 54%] Built target trigger
Consolidate compiler generated dependencies of target weechat_
Consolidate compiler generated dependencies of target weechat_gui_common
Consolidate compiler generated dependencies of target weechat_
Consolidate compiler generated dependencies of target weechat_
[ 60%] Built target xfer
[ 60%] Built target weechat_
[ 63%] Built target fset
[ 65%] Built target fifo
[ 68%] Built target weechat_
[ 71%] Built target weechat_
[ 80%] Built target weechat_gui_common
Consolidate compiler generated dependencies of target weechat_core
[ 98%] Built target weechat_core
Consolidate compiler generated dependencies of target weechat
Consolidate compiler generated dependencies of target weechat-headless
[100%] Linking C executable weechat
[100%] Linking C executable weechat-headless
/usr/bin/ld: error: /lib/x86_
collect2: error: ld returned 1 exit status
make[2]: *** [src/gui/
make[1]: *** [CMakeFiles/
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: error: /lib/x86_
collect2: error: ld returned 1 exit status
make[2]: *** [src/gui/
make[1]: *** [CMakeFiles/
make: *** [Makefile:146: all] Error 2
#######
Reinstalling libkeyutils1 with `apt install --reinstall libkeyutils1`:
root@voltron ~ # apt install --reinstall libkeyutils1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 10.4 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://
Fetched 10.4 kB in 0s (129 kB/s)
(Reading database ... 209307 files and directories currently installed.)
Preparing to unpack .../libkeyutils
Unpacking libkeyutils1:amd64 (1.6.1-2ubuntu3) over (1.6.1-2ubuntu3) ...
dpkg: warning: symbolic link '/lib/x86_
Setting up libkeyutils1:amd64 (1.6.1-2ubuntu3) ...
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
Scanning processes...
Scanning candidates...
Scanning processor microcode...
Scanning linux images...
The processor microcode seems to be up-to-date.
Restarting services...
systemctl restart apache2.service coturn.service fwupd.service icecast2.service packagekit.service postgresql@
Service restarts being deferred:
/etc/needresta
systemctl restart <email address hidden>
systemctl restart networkd-
systemctl restart systemd-
systemctl restart unattended-
systemctl restart user@0.service
systemctl restart user@1000.service
systemctl restart user@1001.service
systemctl restart user@1002.service
systemctl restart user@1003.service
systemctl restart user@1005.service
systemctl restart user@1006.service
systemctl restart user@1007.service
systemctl restart user@1008.service
systemctl restart user@1009.service
systemctl restart user@1010.service
systemctl restart user@1014.service
systemctl restart user@1015.service
systemctl restart user@1017.service
systemctl restart user@1021.service
systemctl restart user@1023.service
systemctl restart user@1024.service
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
=======
root@voltron ~ # ls -l /usr/lib/
lrwxrwxrwx 1 root root 20 Apr 2 15:02 /usr/lib/
-rw-r--r-- 1 root root 22600 Feb 28 2022 /usr/lib/
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: libkeyutils1 1.6.1-2ubuntu3
ProcVersionSign
Uname: Linux 5.15.0-100-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
Date: Tue Apr 2 15:08:59 2024
SourcePackage: keyutils
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
description: | updated |