[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/23812] Explicitly mentioned libraries by -lx are not in the DT
From: |
ccoutant at gmail dot com |
Subject: |
[Bug gold/23812] Explicitly mentioned libraries by -lx are not in the DT_NEEDED list |
Date: |
Tue, 23 Oct 2018 17:49:40 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23812
--- Comment #3 from Cary Coutant <ccoutant at gmail dot com> ---
Well...
You didn't get a "can't find" or "can't open" error message, and
libBrokenLocale.{a,so} isn't listed in the -t output. That can mean one of two
things that I can think of offhand:
(1) The LTO plugin claimed the file, which should only happen if it's a .o
file. You could try -fno-lto to rule this out.
(2) Your copy of libBrokenLocale.{a,so} is actually a script file that didn't
include any objects.
On my system, libBrokenLocale.so is a symlink to a regular shared object, and
is not claimed by the LTO plugin.
If you add -Wl,--debug=files, the stderr output will show you where the linker
actually found the file. Look for a line in the output like this:
ld: Attempt to open /usr/lib/x86_64-linux-gnu/libBrokenLocale.so succeeded
Now go look at that file: "file -L $f" (-L in case it's a symlink), "readelf -h
$f" (if it's an ELF), "cat $f" (if it's a text file).
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/23812] New: Explicitly mentioned libraries by -lx are not in the DT_NEEDED list, dilyan.palauzov at aegee dot org, 2018/10/23
- [Bug gold/23812] Explicitly mentioned libraries by -lx are not in the DT_NEEDED list, ccoutant at gmail dot com, 2018/10/23
- [Bug gold/23812] Explicitly mentioned libraries by -lx are not in the DT_NEEDED list, dilyan.palauzov at aegee dot org, 2018/10/23
- [Bug gold/23812] Explicitly mentioned libraries by -lx are not in the DT_NEEDED list,
ccoutant at gmail dot com <=
- [Bug gold/23812] Explicitly mentioned libraries by -lx are not in the DT_NEEDED list, amodra at gmail dot com, 2018/10/23
- [Bug gold/23812] Explicitly mentioned libraries by -lx are not in the DT_NEEDED list, dilyan.palauzov at aegee dot org, 2018/10/24
- [Bug gold/23812] Explicitly mentioned libraries by -lx are not in the DT_NEEDED list, dilyan.palauzov at aegee dot org, 2018/10/24