Summary: | The distributed groff-1.19.1 does not compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dario Mariani <mariani.dario> |
Component: | [OLD] Core system | Assignee: | AMD64 Project <amd64> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | ||
Priority: | High | ||
Version: | 2004.3 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dario Mariani
2005-02-02 10:37:43 UTC
# gcc-config -l [1] x86_64-pc-linux-gnu-3.4.2 [2] x86_64-pc-linux-gnu-3.4.2-hardened [3] x86_64-pc-linux-gnu-3.4.2-hardenednossp [4] x86_64-pc-linux-gnu-3.4.3 * [5] x86_64-pc-linux-gnu-3.4.3-hardened [6] x86_64-pc-linux-gnu-3.4.3-hardenednopie [7] x86_64-pc-linux-gnu-3.4.3-hardenednossp # * Switching to x86_64-pc-linux-gnu-3.4.3 compiler... [ ok ] g++: no input files I tried to compile a simple program. It compiles but, on execution I get: "error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory" I did not find this library anywhere, nor a package to emerge. it appears to be a multilib bug ... a friend of mine hit this and this is what we managed to debug: $ echo 'int main(){}' > test.cpp $ strace -f -o out ./a.out $ grep libstdc++ out 24087 open("/lib/tls/x86_64/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) 24087 open("/lib/tls/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) 24087 open("/lib/x86_64/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) 24087 open("/lib/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) 24087 open("/usr/lib/tls/x86_64/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) 24087 open("/usr/lib/tls/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) 24087 open("/usr/lib/x86_64/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) 24087 open("/usr/lib/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) 24087 writev(2, [{"./a.out", 7}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"libstdc++.so.6", 14}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10) = 121 that /lib/x86_64/ looks very wrong |