[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/10361] New: linker doesn't throw an error in case of missing lib
booleandomain at gmail dot com
[Bug ld/10361] New: linker doesn't throw an error in case of missing libraries
4 Jul 2009 11:09:22 -0000
I'm trying to compile bash-4.0 with gcc-4.3.3-r2 and binutils-2.19.1-r1.
Bash was configured with the following options: --prefix=/tools
Please notice I have set CFLAGS environment variable to: -O2 -march=core2
Of course I have glibc installed in /tools.
Well, bash get configured and compiled fine, but then if I issue ldd bash I get
linux-vdso.so.1 => (0x00007fffcb3ff000)
libncurses.so.5 => not found
libdl.so.2 => /tools/lib/libdl.so.2 (0x00007f14c2e65000)
libc.so.6 => /tools/lib/libc.so.6 (0x00007f14c2b0d000)
I have not installed ncurses in /tools. If I install it before attempting to
compile bash, the problem is fixed.
But I wonder why ld does not complain at build-time... Perhaps it is a bug.
Summary: linker doesn't throw an error in case of missing
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: booleandomain at gmail dot com
CC: bug-binutils at gnu dot org
GCC build triplet: x86_64-pc-linux-gnu
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/10361] New: linker doesn't throw an error in case of missing libraries,
booleandomain at gmail dot com <=