Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6403 Discussions

Unable to find libinference_engine.so when making samples

Buckley__Leonie
Beginner
925 Views

I'm following te setup guide for OpenVino, but am unable to get the samples running.

The squeezenet and security barrier demos run fine.

The error that I am getting is:

/usr/bin/ld: warning: libinference_engine.so, needed by /opt/intel/computer_vision_sdk_2018.2.319/opencv/lib/libopencv_dnn.so.3.4.2, not found (try using -rpath or -rpath-link)

I have checked my LD_LIBRARY_PATH, and the location of  libinference_engine.so is included:

/opt/intel/computer_vision_sdk_2018.2.319/deployment_tools/inference_engine/lib/ubuntu_16.04/intel64

When I ls the above location, libinference_engine.so is present.

Can you please advise what to do?

Thanks 

0 Kudos
2 Replies
Buckley__Leonie
Beginner
925 Views

I fixed the above issue, I was running make for the samples as sudo, so the LD_LIBRARY_PATH was different.
To fix the issue I set an alias for the path when running as sudo.

0 Kudos
Maksim_S_Intel
Employee
925 Views

Similar problem occurs when you try to build samples using sudo -E command - it does not preserve LD_LIBRARY_PATH variable.
 

 

0 Kudos
Reply