SuiteSparse fails to install with version 5.6.0, version 5.3.0 still works haven't tried 5.4.0 etc.
This looks like it is because the INSTALL config option is being set during build but the SuiteSparse README recommends only doing that during install
Relevant README lines
When compiling the libraries, do NOT use the INSTALL=... options for
installing. Just do:
make
.....
Now you can install the libraries, if you wish, in a location other than
SuiteSparse/lib, SuiteSparse/include, and SuiteSparse/share/doc, using
'make install INSTALL=...'
This probably succeeds on some machines if SuiteSparse libraries like amd are found in the default library path
Steps to reproduce the issue
$ spack install suite-sparse # version 5.6.0
/home/wortiz/spack/lib/spack/env/gcc/gcc -O3 -fPIC -fno-common -fexceptions -O3 -fexceptions -fPIC -I../../include -o amd_simple amd_simple.c -L/home/wortiz/spack/opt/spack/linux-ubuntu18.04-haswell/gcc-9.2.1/suite-sparse-5.6.0-mbzgajdyrup6nqxdvqjrpintl5ja5ld7/lib -L../../lib -lamd -lsuitesparseconfig -lm -lrt -Wl,-rpath=/home/wortiz/spack/opt/spack/linux-ubuntu18.04-haswell/gcc-9.2.1/suite-sparse-5.6.0-mbzgajdyrup6nqxdvqjrpintl5ja5ld7/lib
./amd_simple > my_amd_simple.out
./amd_simple: error while loading shared libraries: libamd.so.2: cannot open shared object file: No such file or directory
Makefile:45: recipe for target 'amd_simple' failed
Platform and user environment
Please report your OS here:
5.3.0-40-generic #32~18.04.1-Ubuntu SMP Mon Feb 3 14:05:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
SuiteSparse fails to install with version 5.6.0, version 5.3.0 still works haven't tried 5.4.0 etc.
This looks like it is because the
INSTALLconfig option is being set during build but the SuiteSparse README recommends only doing that during installRelevant README lines
This probably succeeds on some machines if SuiteSparse libraries like amd are found in the default library path
Steps to reproduce the issue
Platform and user environment
Please report your OS here:
5.3.0-40-generic #32~18.04.1-Ubuntu SMP Mon Feb 3 14:05:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux