I build opencv-2.4.9 successfully (it seemed) on Linux x86_64. When I then build an application that used highgui I get the following errors.
Can you tell me why I am getting this and how to fix it? I have libtiff.so pointing to libtiff.so.5->libtiff.so.5.2.0 in /usr/local/lib.
1> /usr/lib/libopencv_highgui.so.2.4: undefined reference to TIFFIsTiled@LIBTIFF_4.0'
1> /usr/lib/libopencv_highgui.so.2.4: undefined reference to
TIFFOpen@LIBTIFF_4.0'
1> /usr/lib/libopencv_highgui.so.2.4: undefined reference to TIFFReadEncodedStrip@LIBTIFF_4.0'
1> /usr/lib/libopencv_highgui.so.2.4: undefined reference to
TIFFSetField@LIBTIFF_4.0'
1> /usr/lib/libopencv_highgui.so.2.4: undefined reference to TIFFWriteScanline@LIBTIFF_4.0'
1> /usr/lib/libopencv_highgui.so.2.4: undefined reference to
TIFFGetField@LIBTIFF_4.0'
1> /usr/lib/libopencv_highgui.so.2.4: undefined reference to TIFFScanlineSize@LIBTIFF_4.0'
1> /usr/lib/libopencv_highgui.so.2.4: undefined reference to
TIFFSetWarningHandler@LIBTIFF_4.0'
1> /usr/lib/libopencv_highgui.so.2.4: undefined reference to TIFFSetErrorHandler@LIBTIFF_4.0'
1> /usr/lib/libopencv_highgui.so.2.4: undefined reference to
TIFFReadEncodedTile@LIBTIFF_4.0'
1> /usr/lib/libopencv_highgui.so.2.4: undefined reference to TIFFReadRGBATile@LIBTIFF_4.0'
1> /usr/lib/libopencv_highgui.so.2.4: undefined reference to
TIFFClose@LIBTIFF_4.0'
1> /usr/lib/libopencv_highgui.so.2.4: undefined reference to TIFFRGBAImageOK@LIBTIFF_4.0'
1> /usr/lib/libopencv_highgui.so.2.4: undefined reference to
TIFFReadRGBAStrip@LIBTIFF_4.0'