I'm attempting to install opencv-2.4.10 from source onto a linux machine.
The make statement produces
.
.
.
[ 26%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_stat.cpp.o
Linking CXX executable ../../bin/opencv_perf_core
/usr/lib64/libtiff.so.3: undefined reference to jpeg_finish_decompress@LIBJPEG_6.2'
/usr/lib64/libtiff.so.3: undefined reference to
jpeg_set_defaults@LIBJPEG_6.2'
/usr/lib64/libtiff.so.3: undefined reference to jpeg_CreateDecompress@LIBJPEG_6.2'
.
.
.
/usr/lib64/libtiff.so.3: undefined reference to
jpeg_abort@LIBJPEG_6.2'
/usr/lib64/libtiff.so.3: undefined reference to jpeg_suppress_tables@LIBJPEG_6.2'
/usr/lib64/libtiff.so.3: undefined reference to
jpeg_read_raw_data@LIBJPEG_6.2'
collect2: error: ld returned 1 exit status
make[2]: * [bin/opencv_perf_core] Error 1
make[1]: [modules/core/CMakeFiles/opencv_perf_core.dir/all] Error 2
make: ** [all] Error 2
Even when I delete and restore the directory and explicitly tell cmake to produce both the tiff and the jpeg libraries, I manage to get the same error.