hi bob,
no matter what i do, the build links against the 'native' /usr/lib/libxml* ... successful w/ no error, just the 'wrong' lib.
Neither Python itself, nor any extension in the standard library, links to
libxml.
well, that's good -- & at least consistent with why there's no significant reference to libxml in the src ...
if that's the case, then it seems even more odd to me that the python build is sensitive to its presence & location ... as,
What the heck are you talking about?
simply the output of my python build's 'make' (well, 'make frameworkinstall', anyway ... ):
but then the make fails, complaining that /usr/lib/libxml* is not found
with 'native' libxml* mv'd from /usr/lib,
% ls -al *xml* su: /usr/local/bin/ls: No match.
and libxml2-2.6.18 installed in /usr/local/lib,
% ls -al /usr/local/lib/*xml*
-rwxr-xr-x 1 root staff 3038292 Apr 3 19:18 libxml2.2.6.18.dylib
lrwxr-xr-x 1 root staff 20 Apr 3 19:18 libxml2.2.dylib -> libxml2.2.6.18.dylib
-rw-r--r-- 1 root staff 3651384 Apr 3 19:18 libxml2.a
lrwxr-xr-x 1 root staff 20 Apr 3 19:18 libxml2.dylib -> libxml2.2.6.18.dylib
-rwxr-xr-x 1 root staff 848 Apr 3 19:18 libxml2.la
-rw-r--r-- 1 root staff 228 Apr 3 19:18 xml2Conf.sh
python 'make' dies with ...
... Mkdir ///Applications/MacPython-2.4 /bin/mkdir -p ///Applications/MacPython-2.4
StandaloneExecutable ///Applications/MacPython-2.4/PythonLauncher.app/Contents/MacOS/PythonLaunc her
StandaloneExecutable.LinkUsingFileList ///Applications/MacPython-2.4/PythonLauncher.app/Contents/MacOS/PythonLaunc her gcc -o ///Applications/MacPython-2.4/PythonLauncher.app/Contents/MacOS/PythonL auncher "-L/Volumes/Projects/ports/Python-2.4.1/Mac/OSX/PythonLauncher/build" "-L/Volumes/Projects/ports/Python-2.4.1/Mac/OSX/PythonLauncher/build" "-F/Volumes/Projects/ports/Python-2.4.1/Mac/OSX/PythonLauncher/build" "-F/Volumes/Projects/ports/Python-2.4.1/Mac/OSX/PythonLauncher/build" -filelist /Volumes/Projects/ports/Python-2.4.1/Mac/OSX/PythonLauncher/build/Pytho nLauncher.build/PythonLauncher.build/Objects-normal/LinkFileList "-arch" "ppc" "-s" "-prebind" "-Wl,-no_arch_warnings" "-framework" "Cocoa" "-framework" "Carbon" ld: warning prebinding disabled because dependent library: /usr/lib/libz.1.dylib is not prebound ld: warning can't open dynamic library: /usr/lib/libxml2.2.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) ld: Undefined symbols: _xmlSAXUserParseMemory referenced from Foundation expected to be defined in /usr/lib/libxml2.2.dylib ...failed StandaloneExecutable.LinkUsingFileList ///Applications/MacPython-2.4/PythonLauncher.app/Contents/MacOS/PythonLaunc her ... ** BUILD FAILED ** make[1]: *** [install_PythonLauncher] Error 1 make: *** [frameworkinstallapps] Error 2
*something's* expecting libxml2 to be there ...
richard _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig