libxml2 Python bindings error

Juergen R. Plasser plasser at hexagon.at
Thu Jul 3 07:19:24 EDT 2003


Hi,

I have installed libxml2-2.5.7, libxslt-1.0.30 from source and the bindings 
libxml2-python-2.5.7.

Everything seems to compile fine, but when I try to import the libxml2 
library in python I get the following error:

Python 2.1.3 (#1, Feb 10 2003, 10:37:44)
[GCC 2.95.3 20010315 (SuSE)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import libxml2
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.1/site-packages/libxml2.py", line 1, in ?
    import libxml2mod
ImportError: /usr/local/lib/python2.1/site-packages/libxml2mod.so: 
undefined symbol: xmlNewTextReaderFilename

How can I get rid of this error?
I need this libs for a Zope product called CMFOODocument, so I am depening 
on python 2.1.3.

Thanx,
Juergen





More information about the Python-list mailing list