<div dir="ltr">dpkg-shlibdeps handles this in the Debian package building system. But all you can do automatically is check for linkage against shared libs and then determine the packages that provide them, which is exactly what dpkg-shlibdeps does. There may be other things a package depends on (scripts and executables, etc.) and it would amount to solving the infamous halting problem (with regards from Turing) to find them all. :)<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 18, 2017 at 4:38 PM, Ivica Ico Bukvic <span dir="ltr"><<a href="mailto:ico@vt.edu" target="_blank">ico@vt.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>I remember IOhannes suggesting a way where you could build a
script and inspect file and lib properties for each of the
compiled files and from there build a list of all libs Purr Data
depends on. I, however, was unable to figure out an easy way to do
so. It baffles me that to this day Linux does not have an easy way
of automating this...<br>
</p><div><div class="h5">
<br>
<div class="m_2655411436256883810moz-cite-prefix">On 12/17/2017 2:11 PM, Jonathan Wilkes
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div style="color:#000;background-color:#fff;font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:13px">
<div id="m_2655411436256883810yui_3_16_0_ym19_1_1513537603850_3124">Hi list,</div>
<div>I tried to do a cleanup of compile-time dependencies. This
was necessary because some of them <br>
</div>
<div id="m_2655411436256883810yui_3_16_0_ym19_1_1513537603850_3328" dir="ltr">are old
and cause problems for people trying to compile Purr Data on
newer distros.</div>
<div dir="ltr" id="m_2655411436256883810yui_3_16_0_ym19_1_1513537603850_3340"><br>
</div>
<div dir="ltr">However, I don't have any easy way to test these
dependencies, other than knowing that they <br>
</div>
<div dir="ltr">seem to work on my Stretch machine.<br>
</div>
<div id="m_2655411436256883810yui_3_16_0_ym19_1_1513537603850_3290"><br>
</div>
<div>Question: is there some tool that will spelunk a repo and
suggest the correct compile-time <br>
</div>
<div dir="ltr">dependencies for apt to install?</div>
<div dir="ltr"><br>
</div>
<div dir="ltr" id="m_2655411436256883810yui_3_16_0_ym19_1_1513537603850_3388">-Jonathan<br>
</div>
</div>
<br>
<fieldset class="m_2655411436256883810mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
L2Ork-dev mailing list
<a class="m_2655411436256883810moz-txt-link-abbreviated" href="mailto:L2Ork-dev@disis.music.vt.edu" target="_blank">L2Ork-dev@disis.music.vt.edu</a>
<a class="m_2655411436256883810moz-txt-link-freetext" href="https://disis.music.vt.edu/listinfo/l2ork-dev" target="_blank">https://disis.music.vt.edu/<wbr>listinfo/l2ork-dev</a></pre>
</blockquote>
<br>
</div>
<br>______________________________<wbr>_________________<br>
L2Ork-dev mailing list<br>
<a href="mailto:L2Ork-dev@disis.music.vt.edu">L2Ork-dev@disis.music.vt.edu</a><br>
<a href="https://disis.music.vt.edu/listinfo/l2ork-dev" rel="noreferrer" target="_blank">https://disis.music.vt.edu/<wbr>listinfo/l2ork-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Dr. Albert Gr"af<br>Computer Music Research Group, JGU Mainz, Germany<br>Email: <a href="mailto:aggraef@gmail.com" target="_blank">aggraef@gmail.com</a><br>WWW: <a href="https://plus.google.com/+AlbertGraef" target="_blank">https://plus.google.com/+AlbertGraef</a></div></div>
</div>