ld: fatal: recording name conflict: file `/usr/local/lib/libstdc++.so' and file `/usr/sfw/lib/libstdc++.so' provide identical dependency names: libstdc++.so.6 (possible multiple inclusion of the same file) ld: fatal: File processing errors. No output written to .libs/libtorrent.so.10.0.8 collect2: ld returned 1 exit status make[3]: *** [libtorrent.la] Error 1 --- bash-3.2$ uname -a SunOS solaris 5.11 snv_81 i86pc i386 i86pc bash-3.2$ which gcc /usr/local/bin/gcc bash-3.2$ gcc --version gcc (GCC) 3.4.6 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. bash-3.2$