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

Dennis Clarke dclarke at
Mon Aug 28 21:37:32 UTC 2017

On 8/28/17 5:33 PM, Niels Möller wrote:
> Vincent Lefevre <vincent at> writes:
>> This only works if the user is root. If a non-root user wants to
>> install libraries in his home directory, the right solution is to
>> use LD_LIBRARY_PATH (since GCC doesn't use a run path by default).

I never build things as root. Or run tests. The install phase is done
as root of course and then I check the chmod/attr bits on the output.

> You'd either use LD_LIBRARY_PATH, which is going to be a bit brittle

The LD_LIBRARY_PATH env var works as expected on Solaris systems just
as it should ( x86/sparc/POWER7 ? ) but I generally avoid it.

> (I should probably not speculate more on exactly how it fails, but I'd
> be happy to hear the precise explanation if someone here really knows
> the automake magic involved).

I have no clue about automake incantations and spells. :-)


More information about the gmp-bugs mailing list