title: dpkg-shlibdeps: error: no dependency information found for
body: <p>I'm compiling a deb package and when I run dpkg-buildpackage I get:</p>
  
  <pre><code>dpkg-shlibdeps: error: no dependency information found for /usr/local/lib/libopencv_highgui.so.2.3 
  
      ...
      make: *** [binary-arch] Error 2
  </code></pre>
  
  <p>This happens because I installed the dependency manually. I know that the problem will be fixed if I install the dependency (or use checkinstall), and I want to generate the package anyway because I'm not interested on dependency checking. I know that I can give to dpkg-shlibdeps the option  <code>--ignore-missing-info</code> which prevents a fail if dependency information can't be found. But I don't know how to pass this option to dpkg-shlibdeps since I'm using dpkg-buildpackage and dpkg-buildpackage calls dpkg-shlibdeps... </p>
  
  <p>I have already tried:</p>
  
  <pre><code>sudo dpkg-buildpackage -rfakeroot -d -B
  </code></pre>
  
  <p>And with:</p>
  
  <pre><code>export DEB_DH_MAKESHLIBS_ARG=--ignore-missing-info
  </code></pre>
  
  <p>as root.</p>
  
  <p>Any ideas?</p>