make looks for library in the wrong directory
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?
I'm on Ubuntu 20.04 on a fairly recent AMD processor (I forgot which one, but a ZEN 2 for sure).
on which operating system ? on which processor ? etc, etc
@FredericC, you are right, I forgot adding that information. I updated the question.