[Pythonmac-SIG] Tiger hand rolled Python 2.4.1: libxml2 oddities
Gary Poster
gary at modernsongs.com
Thu May 5 18:55:57 CEST 2005
Using Python 2.4.1 compiled on Tiger. This symptom did not occur on
Panther.
Running my app using one command makes an import of libxml2 succeed:
all test pass, including a lot of code that relies on libxml2.
Running it with another command makes it fail:
*** ImportError: Failure linking new module: /Users/gary/jic/opt/
libxml2/lib/python/libxml2mod.so: Symbol not found:
_xmlTextReaderByteConsumed
Referenced from: /Users/gary/jic/opt/libxml2/lib/python/libxml2mod.so
Expected in: flat namespace
I've put a pdb before the import to examine the two environments.
I've checked sys.path, os.environ, and sys.getdlopenflags()
(recommended by a coworker) and gotten results that were either
identical or that (in the case of sys.path) I munged until they were
identical, and still one import works, the other doesn't.
Can anyone think of something else in the two python contexts to
compare?
Gary
More information about the Pythonmac-SIG
mailing list