jkjung-avt / tensorrt_demos

TensorRT MODNet, YOLOv4, YOLOv3, SSD, MTCNN, and GoogLeNet
https://jkjung-avt.github.io/
MIT License
1.75k stars 547 forks source link

libnvinfer.so.8: cannot open shared object file: No such file or directory #517

Closed akashAD98 closed 2 years ago

akashAD98 commented 2 years ago

im using tensorrt 8.2.1.8 ,cuda 11.5 on ubantu 20.04 system

im getting this issue ImportError: libnvinfer.so.8: cannot open shared object file: No such file or directory

image

even i have specified path in .bashrc

image

& inside plugins makefile

image

jkjung-avt commented 2 years ago

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:</home/ubuntu/TensorRT-8.2.1.8/lib>

Could you try to remove the angle brackets ("<" & ">") in this line? And make sure the path is correct: "/home/ubuntu/TensorRT" or "/home/ubuntu/TensorRT-8.2.1.8".

akashAD98 commented 2 years ago

sure ill try it

akashAD98 commented 2 years ago

@jkjung-avt after changing path & rebooting of my server its working fine thanks

akashAD98 commented 2 years ago
image
akashAD98 commented 2 years ago

again im getting the same issue, i checked all my path still getting issue.

akashAD98 commented 2 years ago

is this problem with tensoort or cuda? @jkjung-avt

jkjung-avt commented 2 years ago

libnvinfer.so.8: cannot open shared object file: No such file or directory

This looks like a problem of TensorRT library installation.

You need to make sure: (a) you have installed TensorRT properly, and (b) "libnvinfer.so.8" is on your shared library search paths.

akashAD98 commented 2 years ago

@jkjung-avt i uninstalled tensorrt & installed it again & also changed name into simple Tensorrt & it worked.

akashAD98 commented 2 years ago

@jkjung-avt thanks for the quick response. I'm grateful to you