Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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?

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 an fairly recent AMD processor (I forgot which one, but a ZEN 2 for sure).

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 an a fairly recent AMD processor (I forgot which one, but a ZEN 2 for sure).