[csw-maintainers] Symlinks to shared libraries

Dagobert Michelsen dam at opencsw.org
Wed Nov 25 12:15:56 CET 2009


Hi Maciej,

Am 25.11.2009 um 11:43 schrieb Maciej (Matchek) Blizinski:
> I just got a review of my NSPR build from a NSPR/NSS developer,
> Wan-Teh Chang.  One of the comments was to stop creating a symlink to
> a shared library.  By default, nspr creates bare *.so files.  My build
> script renamed them to *.so.$(MINOR_VERSION) and created symlinks from
> *.so to *.so.$(MINOR_VERSION).
>
>> ls -l /opt/csw/lib/nspr/libnspr4.so*
> lrwxrwxrwx   1 root     other         13 Nov 23 23:46
> /opt/csw/lib/nspr/libnspr4.so -> libnspr4.so.8
> -rwxr-xr-x   1 root     bin       324344 Nov 23 23:02
> /opt/csw/lib/nspr/libnspr4.so.8
>
> Do we have any policy which requires creating symlinks?  I'm afraid
> that shipping bare unversioned libraries is going to create problems
> during updates.

I don't think that we have an official "policy" on this as most  
libraries
are well-behaved. One of the real troublemakers is libnet which was
packaged unversioned and has been resisted to be updated until now.


Best regards

   -- Dago



More information about the maintainers mailing list