title: How to resolve warning /usr/bin/ld: warning: libtiff.so.4, needed by /home/user/libs/opencv/lib/libopencv_highgui.so, may conflict with libtiff.so.5?
body: <p>Some C++ project use TIFF library and OpenCV library at the same time.</p>
  
  <p>The following warning is produced: </p>
  
  <pre><code>/usr/bin/ld: warning: libtiff.so.4, needed by /home/user/libs/opencv/lib/libopencv_highgui.so, may conflict with libtiff.so.5,
  </code></pre>
  
  <p>How can it be resolved?</p>
  
  <p>If it matters I'm using Ubuntu and Eclipse.</p>
  
  <p><code>/sbin/ldconfig -p &gt; libs.txt</code> show me </p>
  
  <pre><code>libtiffxx.so.0 (libc6,x86-64) =&gt; /usr/lib/x86_64-linux-gnu/libtiffxx.so.0
  libtiffxx.so (libc6,x86-64) =&gt; /usr/lib/x86_64-linux-gnu/libtiffxx.so
  libtiff.so.4 (libc6,x86-64) =&gt; /usr/lib/x86_64-linux-gnu/libtiff.so.4
  libtiff.so (libc6,x86-64) =&gt; /usr/lib/x86_64-linux-gnu/libtiff.so
  
  libopencv_highgui.so.2.4 (libc6,x86-64) =&gt; /usr/local/lib/libopencv_highgui.so.2.4
  libopencv_highgui.so.2.3 (libc6,x86-64) =&gt; /usr/lib/libopencv_highgui.so.2.3
  libopencv_highgui.so (libc6,x86-64) =&gt; /usr/lib/libopencv_highgui.so
  </code></pre>
  
  <p>But I don't know what it means, different versions of library?</p>