[xml] libxml2 2.6.7 and Python



I just installed libxml 2 2.6.7 from source on my Red Hat Linux box and also built the libs for Python. When I import the module from Python I get the following traceback. I've run ldconfig and made sure the library was there. Any ideas?

[root astro libxml2-2.6.7]# python
Python 2.3.3 (#1, Mar  4 2004, 01:13:36)
[GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-110)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import libxml2
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.3/site-packages/libxml2.py", line 1, in ?
    import libxml2mod
ImportError: /usr/local/lib/python2.3/site-packages/libxml2mod.so: undefined symbol: xmlXIncludeProcessFlags
>>>

-Dan




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