[csw-maintainers] Symlinks to shared libraries

Maciej (Matchek) Blizinski maciej at opencsw.org
Wed Nov 25 11:43:11 CET 2009


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.

Maciej



More information about the maintainers mailing list