On 8/28/17 5:33 PM, Niels Möller wrote:
Vincent Lefevre <vinc...@vinc17.net> 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. :-)

dc

_______________________________________________
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs

Reply via email to