----- Mail original -----
> De: "Jeremy Henty" <onepo...@starurchin.org>
> À: lfs-dev@linuxfromscratch.org
> Envoyé: Dimanche 3 Juin 2012 13:22:33
> Objet: [lfs-dev] libgmp.so versions in LFS 6.6, 6.7 - can this be right?
> 
> 
> Comparing my old LFS 6.6 with my new LFS 6.7 I see that:
> 
>    LFS 6.6 (gmp-5.0.0):
>         libgmp.a
>         libgmp.la
>         libgmp.so
>         libgmp.so.3
>         libgmp.so.3.6.0
> 
>    LFS 6.7 (gmp-5.0.1):
>         libgmp.a
>         libgmp.la
>         libgmp.so
>         libgmp.so.10
>         libgmp.so.10.0.1
> 
> I am rather  amazed that changing the GMP version  from 5.0.0 to 5.0.1
> should  change the  version  number of  the  *.so from  3  to 10! Is
> something broken here?
> 
No, I have libgmp.so.3.5.0 for gmp-4.3.1 so libgmp.so.3.6.0 doesn't look 
unlogical for gmp-5.0.0 .so name.

This is half described in 
http://gmplib.org:8000/gmp-5.0/file/702aa1847945/Makefile.am but -version-info 
is not the same as gmp.so file name.
The .la file contain both the library name and current,age and revision. 
libtool take care to calculate the so name and I didn't look how that is made.

For gmp-5.0.x , the last number is the same in the package name and in the 
libgmp.so.10.0 name, so 5.0.5 give libgmp.so.10.0.5

Gilles

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to