[Pythonmac-SIG] Odd py2app issue

Christopher Barker Chris.Barker at noaa.gov
Fri Apr 4 18:50:30 CEST 2008


Hi all,

I've got an app (wxPython based) that I've been successfully py2apping 
for a while. I just tweaked the code a bit, and tried to build it again, 
and got:

/usr/bin/strip: the __LINKEDIT segment does not cover the end of the 
file (can't be processed) in: 
/Users/cbarker/HAZMAT/UnitConversion/dist/Converter.app/Contents/Frameworks/libwx_macud-2.8.0.dylib 
(for architecture ppc)

And the resulting application crashes:


ImportError: 
dlopen(/Users/cbarker/HAZMAT/UnitConversion/dist/Converter.app/Contents/Resources/lib/python2.5/lib-dynload/wx/_core_.so, 
2): bad external relocation length

If I delete the old *.app, and build again it works fine, so it's easy 
to work around, but this does smell like a bug.

OS-X 10.4.11
MacPython 2.5.1
wxPython 2.8.7
py2app 0.3.6
macholib dev version as of 3/27/08

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the Pythonmac-SIG mailing list