Failure to install gmp shared library with Intel compiler
tg at gmplib.org
Thu Nov 4 08:51:58 UTC 2021
Tomonori Kouya <tkouya at gmail.com> writes:
Compilation is successful after configuration as following:
./configure --prefix=/usr/local --enable-static --enable-shared
--enable-cxx CC=icc CXX=icpc
But the installation failure occurred when installing GMP shared
library as follows:
/home/tkouya/pool/gmp/gmp-6.2.1/libtool: line 10556: icpc: command not found
The "icpc" command can be used on my environment and the above libtool
command can be executed standalone in bash shell.
Any suggestions or comments?
The failure to find a user specified command from within GMP's build
system is not a GMP issue. A wild guess is that the command shell you
are using does not export the same PATH variable to subcommands as it
uses within itself. That's then a user error, and the remedy is to
learn how local shell variables work vs Unix environment variables.
Please encrypt, key id 0xC8601622
More information about the gmp-discuss