On 17/06/12 19:38, Nathan Salomonis wrote:
Hi all,

First off, I'd like to say how impressed I am with PyInstaller. It has proven to
resolve issues that I have encountered with other freeze program (CxFreeze in
Linux). I just built a distribution for one of my applications on Mac OS X 10.6
and it worked great, producing a onefile application that was 1/6th the size of
the equivalent py2app version. Since I want to distribute my application to OS X
10.5 users, I am now trying the option "python arch -i386". This builds the one
file distribution that runs but encounters an issue when trying to import pyplot
from matplotlib. The error is:

ImportError:
dlopen(/var/folders/VR/VRc6OFUIGsS6cupB0zstt++++TI/-Tmp-//_MEIhz4ePp/matplotlib.ft2font.so,
2): Symbol not found: _FT_Attach_File
Referenced from:
/var/folders/VR/VRc6OFUIGsS6cupB0zstt++++TI/-Tmp-//_MEIhz4ePp/matplotlib.ft2font.so
Expected in: flat namespace
in
/var/folders/VR/VRc6OFUIGsS6cupB0zstt++++TI/-Tmp-//_MEIhz4ePp/matplotlib.ft2font.so

I'm assuming this is because Matplotlib was installed from source on my 64bit
machine and that the ft2font.so is not compatible with a 32bit installation. Any
recommendations around this before trying to re-install MatPlotlib as 32bit?

Hi Nathan,

Not sure if this is relevant, but I'll mention it in case it helps. When I needed to make a 32 bit version of a PyQt app the only way I could get all the components to play nicely together was to build everything as 32 bit. I used the Python from Macports and configured Macports to build as 32 bit.

Also there was a bug in PyInstaller 1.5, where the OSX loader was 64bit when it was supposed to be 32bit. I'm not sure if that has been fixed in the stable release. If it hasn't then in order to fix it you have to compile the loader yourself.

Glenn

--
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to