First, this is because the version corresponding to a problem. So, when you install the appropriate cuda, cudann and tensorflow and so must have to determine in advance version, do not use the default versions.
Sometimes you can use the following command to solve:
sudo ldconfig /usr/local/cuda-10.0/lib64