Ticket #152 (new defect)
pyinstaller onefile fails to bundle Python framework shared lib on osx
| Reported by: | marvingreenberg | Owned by: | giovannibajo |
|---|---|---|---|
| Priority: | highest | Milestone: | PyInstaller 1.4.1 |
| Component: | PyInstaller | Version: | PyInstaller 1.4 |
| Severity: | blocker | Keywords: | osx |
| Cc: |
Description
The loader expects to load the python framework library sys.exec_prefix/Python from the _MEI temp dir, but the current Build.py does not bundle it.
The error is below, ".Python" is a fallback apparently for some other osx issue. stdout: Error loading Python lib '/tmp/_MEIN4IBw9/.Python': dlopen(/tmp/_MEIN4IBw9/.Python, 10): image not found
Patch attached to add it the Python shared library to the onefile. An alternative might be for the loader to look in "standard places" for the osx shared library, but bundling it provides better isolation from any incompatibility for an existing image with OSX updates.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

