bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mpz_import fails.


From: Kevin Ryde
Subject: Re: mpz_import fails.
Date: Wed, 03 Jul 2002 08:16:00 +1000
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i386-debian-linux-gnu)

"W.R. Dittmer" <address@hidden> writes:
>
> Compile with: gcc small.c -o small -lgmp
> Compiler gives NO errors.
>
> Running it gives the following error: 
> ./small: relocation error: ./small: undefined symbol: __gmpz_import

You've apparently hit the right gmp.h and libgmp.so at compile time,
but presumably an old copy of libgmp.so.3 at run-time.

Running "ldd small" will show what libgmp the loader chooses and you
can check it's the one from gmp 4.1.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]