[Slackbuilds-users] Problematic soname for blas and lapack libraries.

Robby Workman rworkman at slackbuilds.org
Mon Aug 30 03:49:10 UTC 2010


On Tue, 10 Aug 2010 21:39:38 -0300
Pablo Santamaria <pablosantamaria at gmail.com> wrote:

> Hi!
> 
> In the Slackbuilds for blas and lapack libraries the.
> soname include the entire version number of the library..
> This is problematic for updates (e.x. 3.2.1 -> 3.2.2)..
> A better option is to use the major number (*.so.3) and.
> symlink properly. The changes in the Slackbuilds would be
> 
> MAJOR=$(echo $VERSION | cut -d. -f1)
> ...
> gcc -fPIC -lgfortran -shared *.o -W1,-soname,$PRGNAM.so.$MAJOR \
>           -o lib$PRGNAM.so.$VERSION
> ...
> (
>  cd $PKG/usr/lib${LIBDIRSUFFIX}
>   chmod 755 *.so.*
>   ln -s lib$PRGNAM.so.$VERSION lib$PRGNAM.so.$MAJOR
>   ln -s lib$PRGNAM.so.$MAJOR   lib$PRGNAM.so
> )
> 


I meant to follow up with you when I made the changes, but
I forgot.  I think this has been fixed up in both the blas
and lapack stuff on our site, but if it's still not ideal,
please let me know.

-RW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20100829/814e575f/attachment.asc>


More information about the SlackBuilds-users mailing list