On Thu, Jan 8, 2015 at 5:28 PM, I <davecort...@gmail.com> wrote:

> cx_Freeze terminates looking for the subject file while packaging a modest
> PyQt5 program.
>
>
Answering my own question, the problem was that the subject path,
/opt/local/lib/libz.1.dylib, was baked in to several of the modules of
Qt5.4.

I had to use otool -L to check every module in the Qt5.4 distribution for
this, and use install_name_tool -change to correct the path to the existing
one, /usr/lib/libz.1.dylib. Then the cx_Freeze bundle executed correctly.

If anyone knows why this incorrect path was encoded in the links of QtCore
and other modules, please let me know.

Dave Cortesi
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to