GNU MP 6.1.2 error undefined symbol __gmpn_invert_limb in test t-constants

Vincent Lefevre vincent at
Mon Aug 28 21:04:15 UTC 2017

On 2017-08-28 13:28:33 -0400, Dennis Clarke wrote:
> In some manner the pre-existing libs were getting in the way likely
> because LD_LIBRARY_PATH=/usr/local/lib and thus the new libs in the
> build_dir/.libs were not used. Either way a symbol seems to have
> appeared because of the assembly files.

FYI, Emmanuel Thomé had a similar issue with FreeBSD. See discussion
"FreeBSD links wrong library for tests if one is installed in $prefix"
on 27 June 2017.

Vincent Lefèvre <vincent at> - Web: <>
100% accessible validated (X)HTML - Blog: <>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

More information about the gmp-bugs mailing list