Hello guys!<div><br></div><div>There are lots of informations on internet about how to create DEPENDS on CMake, but none of them answered my question.</div><div><br></div><div>I have a daemon being compiled very well with CMake. Now, i want to pack this binary to distribution.</div>

<div>Once the clients have a wide variety of Linux distributions, i need to make some restrictions for my code run properly.</div><div>Well, in &quot;explicit&quot; libraries (pthread and OpenSSL, for example) i can realize what version i need. But what about the &quot;implicit&quot; libraries?</div>

<div><br></div><div>I mean, every code compiled in C/C++ in Linux is linked against libc and many others. Is there a way to CMake (or other tool) to generate the really complete list of dependencies of a binary?</div><div>

<br></div><div>I saw that many packages in official repository make restrictions about LibC version, but even the ldd didn&#39;t tell anything about libc in my code. How they realize the minimum version required to the program run well?</div>

<div><br></div><div>Thanks in advance!<br clear="all"><div><br></div>-- <br>Best regards,<br><br>Maurício Souza Klein.<br>
</div>