解决办法:

sudo ldconfig /usr/local/cuda-10.0/lib64