hi,
i know that 64 bit osx isn't supported yet in the latest stable release,
but i figured that if i built the app using 32 bit python then it should
work on 32 bit systems. is this an incorrect assumption?
all of the following were done in the build environment, which is osx lion:
i installed PyQt for i386 using this configure command. Qt was also
compiled using x86 arch:
export VERSIONER_PYTHON_PREFER_32_BIT=yes; python configure.py -q
/path/to/qmake --use-arch i386
i tested my python script using 32 bit arch, and it runs fine:
export VERSIONER_PYTHON_PREFER_32_BIT=yes; python path/to/script.py
then i created an app using pyinstaller 1.5.1 and python 2.7.1 (native osx
install) like so:
export VERSIONER_PYTHON_PREFER_32_BIT=yes;
python ../path/to/pyinstaller/Makespec.py path/to/script.py
export VERSIONER_PYTHON_PREFER_32_BIT=yes; python
../pyinstaller-1.5.1/Build.py script.spec
however, when i try to run the built binary on a vanilla lion install, i
get the following error:
ImportError: dlopen(./PyQt4.QtCore.so, 2): no suitable image found. Did
find:
.//PyQt4QtCore.so: mach-o, but wrong architecture
.//PyQt4QtCore.so: mach-o, but wrong architecture
./PyQt4QtCore.so: mach-o, but wrong architecture
Am I missing something, or is this just not possible?
Thanks!
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pyinstaller/-/x1_N4cO3xmAJ.
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.