tensorrtx
tensorrtx copied to clipboard
./yolov5: error while loading shared libraries: libcudnn.so.8: cannot open shared object file: No such file or directory
Env
- GPU, P40
- OS, Ubuntu18.04
- Cuda 10.2
- TensorRT 7.2.3.4
About this repo
- master branch
- yolov5
Your problem
- what is your command? sudo ./yolov5 -s yolov5s.wts yolov5s.engine s
- what's your output? ./yolov5: error while loading shared libraries: libcudnn.so.8: cannot open shared object file: No such file or directory
- what output do you expect?
Environment issue, the cudnn, tensorrt, cuda, etc, are not properly installed.
make sure the compatible CUDNN libraries are added in the bashrc file
and, you should to link the library, for example: cd /usr/local/cuda-10.2/lib64 ln -snf libcudnn.so.8.x.x libcudnn.so.8 ln -snf libcudnn.so.8 libcudnn.so
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.