libcxcore.so.2 missing in openCV

前端 未结 5 1861
闹比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:32

    a small addition to (correct) answer by Zifei Tong: One needs to make the symbolic links AND also needs to export LD_LIBRARY_PATH for bash, it is :

    libcvaux.so.2 -> /usr/lib/libopencv_video.so.2.2.0
    libcv.so.2 -> /usr/lib/libopencv_legacy.so.2.2.0
    libcxcore.so.2 -> /usr/lib/libopencv_core.so.2.2.0
    libhighgui.so.2 -> /usr/lib/libopencv_highgui.so.2.2.0
    libml.so.2 -> /usr/lib/libopencv_ml.so.2.2.0
    
    export LD_LIBRARY_PATH="path to symbolic links' directory"
    

提交回复
热议问题