title: How can pyinstaller incorporate shared library?
body: <p>My python script imports a shared library (.so) which was generated by distutils.core from a C++ code. When I generate an executable using pyintaller, it prints out</p>
  
  <pre><code>The CococaAgg backend required PyObjC to be installed!
  </code></pre>
  
  <p>during building, and running the executable failed with</p>
  
  <pre><code>ImportError: No module named sysconfig
  </code></pre>
  
  <p>I believed this is due to .so importing, and not sure how to fix it in pyinstaller.</p>
  
  <p><strong>Update:</strong></p>
  
  <p>I installed PyObjC. The</p>
  
  <pre><code>The CococaAgg backend required PyObjC to be installed!
  </code></pre>
  
  <p>disappeared during building, but the </p>
  
  <pre><code>ImportError: No module named sysconfig
  </code></pre>
  
  <p>failure was still there during execution.</p>