title: Does python + pyinstaller support multiple OS/Versions of linux?
body: <p>I have written several small scripts in python and build the binaries using pyinstaller. </p>
  
  <p>When I would build them on my Ubuntu 16.04 machine -- they would run fine on the machine where I build them. But moving the file to a Centos / Redhat 7.4 machine would give me GCLIB and other .so version dependency errors.</p>
  
  <ul>
  <li>Building the same binary on docker with the same version of Centos would not give these errors.</li>
  <li>If I try running the binary compiled on Centos 7.4 on Centos 6.6 I would get errors again -- But building on Centos 6.6 it would work correctly with Centos 6.6</li>
  </ul>
  
  <p>I have solved the problem using a lower version of Centos to build my binaries for now. </p>
  
  <ul>
  <li>My specific question is -- In Python, is it a common approach of building the binaries on different OSs based on the target OS that it is intended for (assuming linux targets only) or what I am doing is a hack / bad way of solving this problem? </li>
  </ul>
  
  <p>I am trying to understand how this problem is approached in the standard way.</p>