Begin forwarded message:

From: James Taylor <[EMAIL PROTECTED]>
Date: February 28, 2006 2:40:35 PM PST
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) \

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to