libcxcore.so.2 missing in openCV

前端 未结 5 1838
闹比i
闹比i 2021-02-06 09:16

I\'m trying to run some precompiled code (source code is not available) on Ubuntu, which requires openCV to be installed. I installed the latest version of openCV (from the SVN)

5条回答
  •  无人共我
    2021-02-06 09:39

    I had the same problem and I solved the problem by installing libcv, libcvaux, libhighgui and their -dev libraries from Synaptics. But the program dependent on the libcv.so.2 shared libraries but Synaptics installs libcv.so.4.0.0. So I created symbolic links for every installed library by running command:

    sudo ln -s /usr/lib/libcxcore.so.4.0.0 /usr/lib/libcxcore.so.2
    

    and so on for every library that the program needs. Now it is working fine for me.

提交回复
热议问题