Dear Brian, On Mon, 1 Oct 2007, Brian Dessent wrote: > When you configure gcc you give it a --prefix. If you don't specify a > prefix, the default is /usr/local. <snip> > The better solution is to just add $prefix/lib to LD_LIBRARY_PATH. I used the default prefix for building gcc. Indeed, /usr/local/lib/libstdc++.so.6 correctly points to libstdc++.so.6.0.9, similarly in /usr/local/lib64 Therefore, after removing the mess in /usr/lib, i did LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64 (before, i checked that LD_LIBRARY_PATH was empty) and tried "make" (for the computer algebra thing) again. However, this did not help, i had the same trouble as before. According to the messages of "make", it really used gcc 4.2.1 (which is located in /usr/local/bin), but apparently LD_LIBRARY_PATH did not allow to use /usr/local/lib/libstdc++.so.6