On 17/11/10, 17:23:11, Silviu Podariu <[email protected]> wrote regarding [csw-users] gcc-4.3.3, post-install trouble: ld.so.1: a.out: fatal: libstdc++.so.6: open failed...:
> ~/cs/cpp/test: /opt/csw/gcc4/bin/g++ reFormat.cc > ~/cs/cpp/test: ./a.out > ld.so.1: a.out: fatal: libstdc++.so.6: open failed: No such file or > directory > Killed It's essentially the same as this: https://www.opencsw.org/mantis/view.php?id=3846 (I thought there was one for g++ but I can't see it.) Do: $ g++ -R/opt/csw/gcc4/lib reFormat.cc and look for the RPATH: $ dump -Lv ./a.out | grep RPATH [8] RPATH /opt/csw/gcc4/lib > Apparently there is something else i need to do, besides installing > the gcc package Install Sun Studio 12.2: http://www.oracle.com/technetwork/server-storage/solarisstudio/overview/ index.html James. _______________________________________________ users mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/users
