libxml2 Python bindings error

Discussion in 'Python' started by Juergen R. Plasser, Jul 3, 2003.

  1. 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
     
    Juergen R. Plasser, Jul 3, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Logan
    Replies:
    1
    Views:
    388
    Logan
    Nov 21, 2003
  2. Brian Donovan

    libxml2 w/ xpath python bindings

    Brian Donovan, Jan 23, 2004, in forum: Python
    Replies:
    1
    Views:
    484
    Brian Donovan
    Jan 23, 2004
  3. OpenMacNews
    Replies:
    0
    Views:
    328
    OpenMacNews
    Apr 3, 2005
  4. Andrew Marlow
    Replies:
    2
    Views:
    406
    Andrew Marlow
    Jan 18, 2007
  5. shaun roe

    python libxml2 xpath extensions

    shaun roe, Nov 11, 2007, in forum: XML
    Replies:
    2
    Views:
    2,828
    shaun roe
    Nov 13, 2007
Loading...

Share This Page