<div dir="ltr"><div class="gmail_extra">More information:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="https://en.wikipedia.org/wiki/Ldd_(Unix)">https://en.wikipedia.org/wiki/Ldd_(Unix)</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">ldd (List Dynamic Dependencies) is a *nix utility that prints the shared libraries required by each program or shared library specified on the command line.[1] <br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Here's and example using my program colormix:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">user@home ~/ $ ldd colormix</div><div class="gmail_extra"><span class="" style="white-space:pre">  </span>linux-vdso.so.1 =>  (0x00007ffc1eef8000)</div><div class="gmail_extra"><span class="" style="white-space:pre"> </span>libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fb3f9d43000)</div><div class="gmail_extra"><span class="" style="white-space:pre">     </span>libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb3f997e000)</div><div class="gmail_extra">  <span class="" style="white-space:pre">     ... snip a few lines</span></div><div class="gmail_extra"><span class="" style="white-space:pre"> </span>libcairo.so.2 => /usr/lib/x86_64-linux-gnu/libcairo.so.2 (0x00007fb3f7a7d000)<br></div><div class="gmail_extra"><span class="" style="white-space:pre">   </span>libpangocairo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007fb3f764e000)<br></div><div class="gmail_extra">  <span class="" style="white-space:pre">     ... more lines follow</span></div><div class="gmail_extra"><span class="" style="white-space:pre"><br></span></div><div class="gmail_extra">then pick a dependency which is under /usr/lib  ...</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">user@home ~/ $ dpkg -S /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0</div><div class="gmail_extra">libpangocairo-1.0-0:amd64: /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0</div><div class="gmail_extra"><br></div><div class="gmail_extra">and finally check the package to verify the version ...<br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">user@home ~/ $ dpkg -s libpangocairo-1.0-0</div><div class="gmail_extra">Package: libpangocairo-1.0-0<br></div><div class="gmail_extra"><div class="gmail_extra">Status: install ok installed</div><div class="gmail_extra">Priority: optional</div><div class="gmail_extra">Section: libs</div><div class="gmail_extra">Version: 1.36.3-1ubuntu1.1<br></div></div><div class="gmail_extra"><br></div><div>which then creates in the control file ...</div><div><br></div><div>Depends:  libpangocairo-1.0-0 (>= 1.36.3)</div><div><br></div><div>I am quite confident that this is a valid approach to building a dependency list. If you want lower version numbers, try making the deb in an older OS (12.04) and see if the version numbers are lower there. I wouldn't know how to look up depends versions any other way, other than say googling each package and trying random lower version numbers.</div><div><br></div><div>With regards to linking to dependencies you feel are not needed, try copying just the application to another system without using the deb. See if you get an error when running the app due to missing libraries. i.e. Your other test computer doesn't have "/usr/lib/nvidia-346/xorg/libglx.so.346.96" and the program fails because of this reason.</div></div></div></div></div>