Hello, I am trying to use Pyinstaller to package up a project that uses the 
GDAL library and also matplotlib.  I am working on MacOSX.  Packaging seems 
to work fine, but the resulting application cannot start.  I have traced 
down the issue to an incompatible version of libpng16.16.dylib, and I am 
unsure how to resolve the issue.  Basically:

   - The version of libpng16.16.dylib on my system (e.g. /opt/local/lib, 
   since I use MacPorts) is 54.0.0.  This is the version that GDAL is 
   expecting (probably since that is what it was built against).


   - The matplotlib Python package includes a different version of 
   libpng16.16.dylib, 38.0.0.  It lives at this path under my virtual 
   environment:  
   lib/python3.7/site-packages/matplotlib/.dylibs/libpng16.16.dylib

Unfortunately for me, Pyinstaller is picking up the matplotlib version of 
libpng16.16.dylib, rather than the one available in other locations.


*Is there a way for me to tell Pyinstaller which version of the libpng 
library to use?*

Thanks!!!
-Donnie Pinkston

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/f82e186d-276b-492f-a468-56254f5c7906o%40googlegroups.com.

Reply via email to