views:

206

answers:

3

Question:

  • Why were static libraries /usr/lib/*.a dropped from Solaris 10?
  • So it is NOT possible to generate statically-linked object?
    • Dynamically-linked compilation, is the only option?
A: 

Can't say I've ever gone looking for them, but did you check the "additional options" (or whatever they call it) CD/DVD? I remember it had other random "missing" things...

Brian Knoblauch
@Brian, Sun has removed all support for statically linked system libraries in Solaris 10, it's not an installation issue.
Jim Lewis
+3  A: 

You can still create your own *.a libraries and link to them, but the system libraries will always be dynamically linked.

See: this post from blogs.sun.com

Jim Lewis
A: 

It's a wise decision. The static linking idea does not really work well. Thats why LSB (Linux Standard Base) Project also forbids static linking. Compatibility moved away from system calls to a higher level in the last two decades.

Lothar