[csw-maintainers] Symlinks to shared libraries

James Lee james at opencsw.org
Wed Nov 25 13:32:21 CET 2009


On 25/11/09, 11:54:25, Maciej "(Matchek)" Blizinski <maciej at opencsw.org>
wrote regarding Re: [csw-maintainers] Symlinks to shared libraries:

> > It's not about CSW policy but how ld and ld.so.1 work and versioning.
> > What's the SONAME?

> $ /.SUNWnative/usr/sfw/bin/gobjdump -p
> work/solaris8-sparc/install-isa-sparcv8/opt/csw/lib/libnspr4.so.8  |
> grep SONAME
>   SONAME      libnspr4.so

> This means applications will be linked against libnspr4.so no matter
> which is the symlink and which is the regular file, right?

Correct.  Thus file naming with the version is only for our convenience,
the .so file will always be used and the fact it's a link is transparent
to its use and of no interest to the developers.

The developers are very sure of the future and are disregarding the
standard method of protecting themselves against unknown eventualities.
Changing the library name to handle versions makes changes difficult
because the builds need to know, -lnsprwhat?  It's handy you are in
communication with the developers as you can call them twats.



James.



More information about the maintainers mailing list