Vijay Tatkar's Blog

All | Benchmarks | Business | Cloud Computing | General | Hardware | Linux/Unix | Performance | Software | Solaris | Sun | Sun Studio
« Sun Studio Express... | Main | IDE, D-light and... »
20080731 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]

Like this post?  del.icio.us  bookmark it   |   submit to dig digg.com digg it   |   slashdot slashdot it   |   technorati Technorati it

Trackback URL: http://blogs.sun.com/tatkar/entry/using_sun_studio_express_7
Comments:

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 #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed

Who Am I?

Calendar

RSS Feeds

Search

Links

Presentations

Latest TechDays Presos

Navigation

Referers