Reputation: 390
error while loading shared libraries: libopencv_core.so.3.0: cannot open shared object file: No such file or directory.
I am using eclipse c/c++ ide on ubuntu 14.04. Tried everything which I got from google
Upvotes: 6
Views: 19241
Reputation: 155
You are trying to run in Eclipse so the solution provided (The export part) in openCV program compile error "libopencv_core.so.2.4: cannot open shared object file: No such file or directory" in ubuntu 12.04 May not work. I suppose you have installed open cv following the instructions provided in open cv documentation. If so, you can get rid of this problem by adding the following environment variables to the eclipse runtime.
Name - LD_LIBRARY_PATH
Value - $LD_LIBRARY_PATH:/usr/local/lib
Steps
On the window on the right hand side you see the Environment tab.
Here click on New, you'll see a New Environment Variable pop up.
Upvotes: 12
Reputation: 1
I had the same problem too. Upgrading to the latest Eclipse version solved it.
Upvotes: -2