Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Buckley__Leonie
Beginner
265 Views

Unable to find libinference_engine.so when making samples

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
265 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.

Maksim_S_Intel
Employee
265 Views

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

 

Reply