It might be that one of the libraries that you are using thinks that it needs it (is specifically asking for it). The first thing you should do is to find out which library thinks that it depends on /usr/local/lib/./libstdc++.so (if any).
The libstdc++.la file produced by GCC has been broken ever since GCC started libtool. It includes a bunch of junk it should not. The most annoying junk refers to the GCC build directory so that applications linked with libstdc++.la attempt to use files from the GCC build directory rather than the installed versions. If the GCC build directory is not removed after installing the compiler, very strange problems result.
I usually see the "duplicated" library warning for libstdc++.so when linking under Solaris.
Bob ====================================== Bob Friesenhahn [EMAIL PROTECTED] http://www.simplesystems.org/users/bfriesen
_______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/libtool