Re: [xml] libxml2 2.6.7 and Python

On Tue, 2004-04-27 at 20:03 +0200, Markus Reinsch wrote:

I've got the same problem and I don't know where is my fault.
I've got libxml2-2.6.9 and python 2.3.3 on Redhat.


I've done these steps:

cd libxmlpath
./configure --prefix=myprefix --with-python=xpython23x/python
make install

cd python
xpython23x/python build
xpython23x/python install

Python 2.3.3 (#3, Jan 18 2004, 16:05:10)
[GCC 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import libxml2
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "", line 1, in ?
import libxml2mod
undefined symbol: xmlXIncludeProcessFlags

Did you set your library path (the LD_LIBRARY_PATH environment variable)
so that it will find the version of libxml2 you built before it finds
the installed system version. This error looks like you are loading the
wrong version of the library.

To diagnose this further, you may also with to run 'python -v' and then
when you import libxml2 you will be able to see which paths are searched
and where the library that is loaded is found.


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