https://sourceware.org/bugzilla/show_bug.cgi?id=27250
Bug ID: 27250
Summary: Installation of 2.36 fails with 'LIBCTF_1.1 not found'
followed by 'relink' suggestion
Product: binutils
Version: 2.36
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: j-comm at westvi dot com
Target Milestone: ---
Created attachment 13158
--> https://sourceware.org/bugzilla/attachment.cgi?id=13158&action=edit
Full output of configure, make, make check, make install
As the summary line states, but included as an attachent is the entire log of
configuring, making, testing and the final installation attempt, along with the
version number given for multiple utilities and glibc. Look near the bottom for
the error message. Look near the top for the utility version information.
A copy of the error message I received, near the very end of the attachment
log, is as follows:
/usr/bin/ld: /usr/lib/libctf.so.0: version `LIBCTF_1.1' not found (required by
/usr/bin/ld)
collect2: error: ld returned 1 exit status
libtool: install: error: relink `libctf.la' with the above command before
installing it
I do include the 'make tooldir=/usr install' output.
...note that before doing this, I am able to compile/link/install everything -
this is the only build that has this problem. However, because the failure is
midway in the install, the failure makes it so the system can no longer build
and link even the simplest 'hello world' program. This is why I categorize this
bug as 'critical'.
Hopefully someone can figure out what is going on here. Thanks!
root@www:/sources# tar xf archive/binutils-2.36.tar.xz
root@www:/sources# cd binutils-2.36/
root@www:/sources/binutils-2.36# mkdir -v build
mkdir: created directory 'build'
root@www:/sources/binutils-2.36# cd build
root@www:/sources/binutils-2.36/build# gcc --version
gcc (GCC) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
root@www:/sources/binutils-2.36/build# ld --version
GNU ld (GNU Binutils) 2.35.1
Copyright (C) 2020 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
root@www:/sources/binutils-2.36/build# ldd --version
ldd (GNU libc) 2.32
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
root@www:/sources/binutils-2.36/build# uname -a
Linux www.jfroot.com 5.10.6 #1 SMP Sat Jan 9 05:39:20 PST 2021 x86_64 GNU/Linux
root@www:/sources/binutils-2.36/build# make --version
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
root@www:/sources/binutils-2.36/build# m4 --version
m4 (GNU M4) 1.4.18
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Rene' Seindal.
root@www:/sources/binutils-2.36/build# bash --version
GNU bash, version 5.1.4(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
root@www:/sources/binutils-2.36/build# cat --version
cat (GNU coreutils) 8.32
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Torbjorn Granlund and Richard M. Stallman.
root@www:/sources/binutils-2.36/build# sed --version
sed (GNU sed) 4.8
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Jay Fenlason, Tom Lord, Ken Pizzini,
Paolo Bonzini, Jim Meyering, and Assaf Gordon.