On Sun, 2012-06-03 at 12:22 +0100, Jeremy Henty wrote:
> 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?
> 
> This is  causing me grief because  I am trying to  install the Glasgow
> Haskell compiler.  This  is written in Haskell so  I have to bootstrap
> from  a binary distribution.   But all  the binary  distributions they
> supply link  to libgmp.so.3 so they break  on LFS 6.7 .   Do other 6.7
> users have libgmp.so.10 too?

See the changes to 5.0.1 listed at http://gmplib.org/gmp5.0.html. In
particular:

"The solib numbers now reflect the removal of the documented but
preliminary mpn_bdivmod function; we correctly flag incompatibility with
GMP 4.3. GMP 5.0.0 has this wrong, and should perhaps be uninstalled to
avoid confusion."

So, unfortunately, they should have bumped 5.0.0's solib number but
didn't, which is why you're seeing a problem now.  Given that you can
successfully run Haskell against 5.0.0, would creating compatibility
symlinks of libgmp.so.3 -> libgmp.so.10.0.1 and libgmp.so.3.6.0 ->
libgmp.so.10.0.1 work?

Regards,

Matt.

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

Reply via email to