[Pythonmac-SIG] linker error with UB 2.4.3

Stefan Werner stewreo at gmail.com
Fri Apr 7 05:57:55 CEST 2006


Hi,

when trying to link my application against the universal binary build
linked from Python.org, I get an error about these undefined symbols:

/usr/bin/ld: Undefined symbols:
_fstatvfs referenced from Python expected to be defined in libSystem
_lchown referenced from Python expected to be defined in libSystem
_statvfs referenced from Python expected to be defined in libSystem

This happens only for the PPC part of my UB application, it seems to
link the i386 part just fine. I am using the 10.3.9 SDK for the PPC
side, 10.4u for i386. Do I need to link against the 10.4u SDK on both
sides? I'd not be too happy about doing that, since I want to make
sure the app runs perfeclty on 10.3.9/PPC.

-Stefan


More information about the Pythonmac-SIG mailing list