[Pythonmac-SIG] Universal binary build of py2app application won't run on 10.3.9

William Kyngesburye woklist at kyngchaos.com
Fri Jun 30 23:33:39 CEST 2006


On Jun 30, 2006, at 3:50 PM, Christopher Barker wrote:

> I'm guessing that this may not be the ONLY lib that has this  
> problem --
> it's just the the one that's been discovered. Also, it seems possible
> that a user might have a similar problem with a lib that isn't  
> Apple's.
>

Here's a list of Panther-Tiger incompatibilities I came up with when  
working out Panther-compatible Tiger builds (not quite exhaustive,  
mainly stuff that directly affected what I was doing):

• libSystem - some new symbols in tiger.

fdatasync (have declaration, but not function in Tiger)
getpeereid
___stdoutp
_statvfs

Solution: use alternate functions somehow (ie postgres configure  
detects getpeereid and uses something else if not found)

• libncurses & friends

libncurses.5.dylib in panther, back compat copy in tiger
libncurses.5.4.dylib in tiger, compat ver 5.4.0

solution: force stuff to build with older lib

linklib = /usr/lib/libncurses.5.dylib
	/usr/lib/libpanel.5.dylib
	/usr/lib/libmenu.5.dylib
	/usr/lib/libform.5.dylib

• libtermcap

is a symlink to libncurses, so same problem & solution


• libbz2

static-only in panther, dynamic-only in Tiger, but same version

solution: provide own libbz2, or link with libbz2.a in the 10.3.9 SDK


• libcurl.3

v2 in panther, Tiger has v2 symlinked to v3

Solution: provide own libcurl, or link to libcurl in 10.3.9 SDK  
(headers also)


• LDAP fw

same version, but ber_pvt_opt_on is in tiger copy

solution: use LDAP framework from 10.3.9 SDK
   had to do this for PHP, but haven't tested it yet


-----
William Kyngesburye <kyngchaos at kyngchaos.com>
http://www.kyngchaos.com/

First Pogril: Why is life like sticking your head in a bucket filled  
with hyena offal?
Second Pogril: I don't know.  Why IS life like sticking your head in  
a bucket filled with hyena offal?
First Pogril: I don't know either.  Wretched, isn't it?

-HitchHiker's Guide to the Galaxy



More information about the Pythonmac-SIG mailing list