Is it really useful to add the LDPATH in ld.so.conf ? I don't think so. The LDPATH=/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3 is a somewhat private path to gcc and shouldn't be exported this way. Any library that needs to be shared with other binaries will be installed in ${prefix}/lib. If this path is really needed I recommend to honour that by changing the compilers spec file. BYE INGO
This does not really hold for a gcc3 system. Also putting libstdc++ in /usr/lib cause problems with multiple installs of gcc.