Ask Your Question

Revision history [back]

Installing OpenCV Linux - Cmake Error

Hello, I am new to OpenCV and while trying to install it on my Linux (Ubuntu 12.10) computer I got an error at the last step of the official documentation (http://docs.opencv.org/doc/tutorials/introduction/linux_install/linux_install.html#linux-installation).

Whenever I called for sudo make install I get this error:

CMake Error at modules/photo/cmake_install.cmake:60 (FILE): file RPATH_CHANGE could not write new RPATH:

/usr/local/lib

to the file:

/usr/local/lib/libopencv_photo.so.2.4.6

No valid ELF RPATH or RUNPATH entry exists in the file; Error reading ELF identification. Call Stack (most recent call first): modules/cmake_install.cmake:70 (INCLUDE) cmake_install.cmake:56 (INCLUDE)

make: * [install] Error 1

I've tried to look up the error online but I found nothing helpful. If you know what the error is about and/or how to fix it I would greatly appreciate it. Thanks.