title: Compiling opencv3 get "libgdal.so.20 undefined reference"
body: <p>While I try to compile opencv3 I got this error:</p>
  
  <blockquote>
    <p>../../lib/libopencv_imgcodecs.so.3.4.2: undefined reference
    "TIFFReadDirectory@LIBTIFF_4.0" //usr/lib/libgdal.so.20: undefined
    reference "TIFFLastDirectory@LIBTIFF_4.0"
    ../../lib/libopencv_imgcodecs.so.3.4.2: undefined reference
    "TIFFWriteEncodedStrip@LIBTIFF_4.0"
    ../../lib/libopencv_imgcodecs.so.3.4.2: undefined reference
    "TIFFIsTiled@LIBTIFF_4.0" //usr/lib/libgdal.so.20: undefined reference
    "TIFFSwabArrayOfShort@LIBTIFF_4.0" //usr/lib/libgdal.so.20: undefined
    reference "TIFFIsByteSwapped@LIBTIFF_4.0" //usr/lib/libgdal.so.20:
    undefined reference "TIFFFlushData@LIBTIFF_4.0"
    //usr/lib/libgdal.so.20: undefined reference
    "TIFFFreeDirectory@LIBTIFF_4.0"
    ../../lib/libopencv_imgcodecs.so.3.4.2: undefined reference
    "TIFFScanlineSize@LIBTIFF_4.0" //usr/lib/libgdal.so.20: undefined
    reference "TIFFWriteEncodedTile@LIBTIFF_4.0"</p>
  </blockquote>
  
  <p>OS: Ubuntu 18.04</p>
  
  <p>How can I solve? I already installed libgdal20 and libgdal-dev</p>