ImportError: cannot open shared object file: No such file or directory

I am new with Jetson TX2.

I needed an OpenCV library with Cuda 9.

you know that there is the OpenCV version(3.x-dev) installed automatically with ROS kinetic.

I removed it using this command:

sudo apt remove ros-kinetic-opencv3

but sadly, cv_bridge removed also with ros-kinetic-opencv3.

I followed this post, but I can’t complete it because he uses a cuda8

after removed it immediately, I checked it and saw another version (3.3.1) that it installed with ubuntu.

after I used these commends:

sudo apt build-dep opencv
sudo apt install libvtk6-qt-dev libgoogle-glog-dev 
sudo dpkg -i ros-kinetic-opencv3_3.3.1-0xenial_arm64.deb

I get an error as in the title when I use

import cv2

please help me or any idea?

You may upgrade your system to r28.3.1 via Jetpack:

The release supports CUDA 9.0.

Thanks @DaneLLL for your helping.

how to upgrade my system.

there are commands or I need to install it from scratch??

please let me know if there is an easy way to upgrade it

I also have another issue with this version (Jetpack3.2.1) is: wifi drop connection randomly

Hi red8341h,

Please download SDKManager and following instruction to install and run SDKManager on your host ubuntu (support 16.04 and 18.04) machine.
After run SDKManager, the “Target Hardware” select Jetson TX2, “Linux” select JetPack 3.3.1, you can check more detail on here.

JetPack-3.3.1 release notes:

this means to install it from scratch.

anyway, thank you so much