Re: [xslt] Extensions in Python?



On Sat, Oct 08, 2005 at 09:47:40AM -0400, Norman Walsh wrote:
> Hmmm. I installed the python bindings for libxml2 and tried to run
> the extension test.
> 
> $ python /usr/share/doc/python2.4-libxslt1/examples/extelem.py
> Traceback (most recent call last):
>   File "/usr/share/doc/python2.4-libxslt1/examples/extelem.py", line 5, in ?
>     import libxml2
>   File "/usr/lib/python2.4/site-packages/libxml2.py", line 1, in ?
>     import libxml2mod
> ImportError: /usr/lib/python2.4/site-packages/libxml2mod.so: undefined symbol: xmlSchemaIsValid
> 
> Hit me with a clue-by-four, please?

  your libxml2 release for the libxml2.so used by python is newer than the
one installed on the system. Library mismatch between libxml2 and libxml2-python
maybe...

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]