libgmp.so: could not read symbols: File in wrong format
Marc Glisse
marc.glisse at inria.fr
Sat Sep 17 15:36:36 CEST 2011
On Fri, 16 Sep 2011, Chris Boyd wrote:
> Trying to compile gcc-4.6.1 on RHEL 5.4 using gmp-5.0.2
>
> The link of libjavamath.so fails with the error:
> /usr/local/tools/gcc/src/gcc-4.6.1/lib/libgmp.so: could not read symbols: File in wrong format
> Complete error below.
http://gmplib.org/manual/ABI-and-ISA.html
(just a guess)
You should probably let gcc handle gmp/mpfr/mpc itself (see gcc's doc).
--
Marc Glisse
More information about the gmp-discuss
mailing list