Thursday July 31, 2008
Using Sun Studio Express 7/08 on OpenSolaris 2008.05
A note to add if you are using OpenSolaris and
want to use Sun
Studio Express 7/08 with it:
OpenSolaris 2008.05
has a mechanism that lets you point it to the latest repository. The
facility is usually:
# pkg
set-authority opensolaris.org
If you use it to update packages to the latest builds, there is a
chance that you might run into a mismatch between various packages that
might cause dbx to not work. The problem manifests itself while
debugging 32bit MT applications with messages like:
dbx:
warning: could not initialize thread debugging library -- debugger
service failed
dbx: warning:
thread related commands will not be available
Or a message such as:
ld.so.1:
ld: fatal: libld.so.4: version `SUNWprivate_4.2' not found
This
is usually due to a mismatch between ld and liblddbg.so in packages
such as SUNWtoo and SUNWcsr
If you run into this problem, or better still to avoid this problem,
the advice is to stay
on the OpenSolaris 2008.05 version and not upgrade to the latest builds.
Alternately, at least at this stage, updating the entire system also
works (since everything stays in sync), but there is no guarantee that
this will continue to always be the case, so its best to avoid doing
this upgrade.
Posted by tatkar
( Jul 31 2008, 08:14:10 AM PDT )
Permalink
Comments [2]
Shouldn't this be handled by package dependencies?
Posted by Marc on July 31, 2008 at 09:27 AM PDT #
Yes, I believe there was bug. We are escalating this to OpenSolaris. Theres a missing dependency in there.
Posted by 192.18.43.225 on July 31, 2008 at 11:44 AM PDT #