Yes, there is one thing, which has changed since Python interface was 
created.

First version of Sablotron linked dynamic expat libraries directly eith 
libsablot.

It is not true today. All requested libraries must be defined while 
linking of the final program/library. You have to force Python extension 
to use libxmltok and libxmlparse libraries. I know absolutely nothing 
about Python, but is seems, you have to patch the setup.in file.

Send us a patch :)

Thanks

Regards

Pavel

Pierre Rougier wrote:

> Hi,
> I just downloaded your python sablotron interface and followed your
> installation instructions (readme file)...
> the installation is now done...
> I can use the command "sabcmd", but can't import the Sablot module in my
> python environment, this is what I have:
> 
> bash$ python
> Python 1.5.2 (#1, Feb  1 2000, 16:32:16)  [GCC egcs-2.91.66
> 19990314/Linux (egcs- on linux-i386
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> import Sablot
> Traceback (innermost last):
>   File "<stdin>", line 1, in ?
> ImportError: /usr/local/lib/libsablot.so.0: undefined symbol:
> XML_ParserCreateNS
> >>>
> 
> Can anyone help me?
> 
> 

-- 
Pavel Hlavnicka
Ginger Alliance Ltd.
Prague; Czech Republic

Reply via email to