libxml2 Python bindings error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Juergen R. Plasser

    libxml2 Python bindings error

    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.[color=blue][color=green][color=darkred]
    >>> import libxml2[/color][/color][/color]
    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: xmlNewTextReade rFilename

    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

Working...