The error message /usr/lib/x86_64-linux-gnu/libcuda.so: file not recognized: File truncated` seem to indicate that your cuda install is broken. You may want to clean it and reinstall cuda and try again.