[Slackbuilds-users] Problematic soname for blas and lapack libraries.
Eugéne Suter
easuter at gmail.com
Mon Aug 30 12:53:46 UTC 2010
Yeah, I already submitted an update with the changes about 2 weeks ago
and it got merged almost immediatel . There is just one small detail
that I didn't fix: the gcc command that creates the shared libraries
for blas and lapack should have the -Wl flag, not -W1. Sorry, that was
a typo of mine :(
On 30 August 2010 04:49, Robby Workman <rworkman at slackbuilds.org> wrote:
> 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
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>
>
More information about the SlackBuilds-users
mailing list