FS#814 - gcc-compat problem
Attached to Project:
Arch Linux
Opened by Lukas Sabota (punkrockguy318) - Thursday, 22 April 2004, 02:13 GMT
Last edited by Judd Vinet (judd) - Thursday, 22 April 2004, 16:15 GMT
Opened by Lukas Sabota (punkrockguy318) - Thursday, 22 April 2004, 02:13 GMT
Last edited by Judd Vinet (judd) - Thursday, 22 April 2004, 16:15 GMT
|
Details
Many programs look for libstdc++.so.5 in /lib, instead of
/usr/lib. Making a symbolic link from /lib/libstdc++.so.5 to
/usr/lib/libstdc++.so.5 will solve some problems (like in
mozilla-firefox and other programs)
|
This task depends upon
[jvinet@mars jvinet]$ ldconfig -p | grep libstdc++
libstdc++.so.6 (libc6) => /usr/lib/libstdc++.so.6
libstdc++.so.5 (libc6) => /usr/lib/libstdc++.so.5
libstdc++.so (libc6) => /usr/lib/libstdc++.so
If you have the latest gcc and gcc-compat packages installed, you should have output like mine above. If not, try removing any libstdc++ links from /lib and re-running ldconfig.
libstdc++.so.6 (libc6) => /usr/lib/libstdc++.so.6
libstdc++.so (libc6) => /usr/lib/libstdc++.so
I removed all symlinks and that's my output. Still problems.
What does this display for you?
[jvinet@mars jvinet]$ ldd /opt/mozilla-firefox/lib/mozilla-1.6/firefox-bin | grep libstdc
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x404f8000)
On a side note, the gcc-compat package will likely be disappearing soon. I'll include the old libstdc++ libs in the gcc package itself.