[Pythonmac-SIG] Fwd: framework on Intel

Bob Ippolito bob at redivi.com
Wed Mar 1 11:05:49 CET 2006



Begin forwarded message:

> From: James Taylor <james at bx.psu.edu>
> Date: February 28, 2006 2:40:35 PM PST
> To: sw at wordtech-software.com
> Cc: bob at redivi.com
> Subject: framework on Intel
>
>> ld: warning can't open dynamic library:
>> - -all_load/usr/lib/system/libmathCommon.A.dylib referenced from:
>> /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libSystem.dylib
>> (checking for undefined symbols may be affected) (No such file or
>> directory, errno = 2)
>
> I believe this is the result of building without --enable- 
> universalsdk, which results in isysroot not being defined correctly  
> because of a little bug in the makefile (bash variable reference  
> used instead of make), one possible fix:
>
> Index: Makefile.pre.in
> ===================================================================
> --- Makefile.pre.in     (revision 23)
> +++ Makefile.pre.in     (working copy)
> @@ -379,7 +379,7 @@
>                 for X in `lipo -info $(LIBRARY) | cut -f 3 -s - 
> d :`; do \
>                         Z="$$Z $(LDLIBRARY).libtool.$$X" ;\
>                         $(CC) -o $(LDLIBRARY).libtool.$$X -arch $$X  
> -dynamiclib \
> -                               -isysroot ${UNIVERSALSDK:-"/"} \
> +                               -isysroot $(if $(UNIVERSALSDK),$ 
> (UNIVERSALSDK),"/") \
>                                 -all_load $(LIBRARY) -Wl,- 
> single_module \
>                                 -install_name $(DESTDIR)$ 
> (PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/Python \
>                                 -compatibility_version $(VERSION) \

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20060301/5a02de98/attachment.html 


More information about the Pythonmac-SIG mailing list