title: How to programmatically check whether a library dependent program can run in a Linux system?
body: <p>I am having a program(binary) which depends upon libraries such as pthread, sqlite3,libcrypto and libcurl.I want to run this program in multiple user PCs.How to programmatically check whether the dependencies are met, before installing the binary?</p>
  
  <p>./configure cannot be be used as it is for the purpose of building the program as mentioned in , <a href="https://stackoverflow.com/questions/44366319/">Making os independent configure file which checks for curl dependency</a>.
  If I am not wrong .deb and .rpm have there own methods for this.</p>
  
  <p>Can anybody please tell me what is the method they are following for this.Is it just a file name check? For example,if I have build the program using libcurl.so.3, whether it checks that the system in which it will be running is having libcurl.so.3 as a regular file or a simulink.Or any other check is there for the libraries?</p>
  
  <p>What is the reliable method for checking the dependencies, while installing and running a binary?</p>