Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

shared libraries conflict

OpenCV.3.4.10 on Ubuntu 18.04

To use findTransformECC I had to install libopencv_video.so.3.4.10 As a result all my other cpp, which worked well with the libraries mentioned below, now compile with warning:

/usr/bin/ld: warning: libopencv_imgproc.so.3.4, needed by /OpenCV-3.4/lib/libopencv_highgui.so, may conflict with libopencv_imgproc.so.3.2

   /usr/bin/ld: warning: libopencv_core.so.3.4, needed by /OpenCV-3.4/lib/libopencv_highgui.so, may conflict with libopencv_core.so.3.2

Running the compiled file aborts saying:

error loading shared libraries: libopencv_highgui.so.3.4: cannot open shared object file: No such file or directory

In my /OpenCV-3.4/lib/ I have all these .so files in three versions so, so.3.4 and so.3.4.10 but no so.3.2

Can someone explain what is going on and how to fix it?