[csw-users] Why support Solaris 8 onwards?

Torrey McMahon tmcmahon2 at yahoo.com
Wed Sep 19 22:15:05 CEST 2007


Alessio wrote:
> Torrey McMahon wrote:
>   
>> 4 - We still need to provide some solutions to the fact that the 
>> /opt/csw tree can conflict with other packages. I got an interesting 
>> email from someone at Sun that said it wasn't the bloat that ticked him 
>> off but that we weren't linking things in a correct fashion to avoid 
>> conflicts.
>>     
>
> can you provide the example, please?
> just to understand...

Someone much smarter then me - At least in this area :-) - said....

    It is far from harmless, in fact it is HIGHLY toxic.  It isn't the
    /opt/csw/bin that it the problem but the duplicate but different
    versions of stuff from /usr/lib and other Solaris core lib
    directories it duplicates into /opt/csw/lib.  This can and will lead
    to very hard to diagnoise problems due to more of more of the
    following (plus some others): multiple different binary libs in same
    process, similar libs with partialy the same API (libldap vs
    openldap variant is one very toxic case), correct API/ABI but
    different build options for same libary, etc.

    The only correct way out of this is to rebase Blastwave for each
    operating system version so that it never duplicates libraries that
    are part of the core OS unless it does so by linking them RLTD_GROUP
    (which it doesn't). ld(1) -B group





More information about the users mailing list