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

Niels Möller nisse at lysator.liu.se
Mon Aug 28 20:50:23 UTC 2017


Dennis Clarke <dclarke at blastwave.org> writes:

> 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.

LD_LIBRARY_PATH tends to override anything else. Don't use that for
anything but to run specific binaries which need it.

Since this was a gnu/linux system, the usual way to make ld.so search
/usr/local/lib is via files under /etc/ld.so.conf.d (even if that's
system global, unlike LD_LIBRARY_PATH).

> Either way a symbol seems to have appeared because of the assembly
> files.

Right, precisely which internal functions get included in the library
depends on both platform and configure arguments.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.


More information about the gmp-bugs mailing list