I tried to compile Sagemath from source following the instructions in [GitHub]. Make
fails with two errors. While inspecting the log file logs/pkgs/suitesparse-5.10.1.log, I see these lines:
g++: error: /usr/lib64/libcudart.so: No such file or directory
g++: error: /usr/lib64/libcublas.so: No such file or directory
Those libraries don't exist in /usr/lib64 indeed, but they are in another directory. How do I tell make
to look in the other directory instead?