C++ library (version `SUNW_1.2') not found
When I build a C++ program with the tools that come with Sun Studio 11, I am able to run it on the same host (with Solaris 8) as it was compiled and linked on. But when I attempt to run the same program on a Solaris 9 box that does not have the development tools installed on it, the program fails to find the libCstd library.
The error issued is:
ld.so.1: /opt/[...path to my program...]: fatal: libCstd.so.1: version `SUNW_1.2' not found (required by file /opt/[...path to my program...])
29222 Killed
Failed to start
If I build a similar test program with no C++ code (which I compile with cc instead of CC) then it works on the target machine without any problems.
It appears, gleaned from the error issued, that the correct version of the libCstd shared library (the C++ library, I think) cannot be found.
I am not sure how to resolve this. Is there a patch configuration change I need to apply on teh SOlaris 9 box?
P.S.: "CC -V" gives:
"CC: Sun C++ 5.8 2005/10/13"

