[XML-SIG] Expat problems again...

Magnus Lie Hetland mlh@idi.ntnu.no
Thu, 8 Nov 2001 18:30:17 +0100


I guess this is jut me being stupid, but I'm having problems
with Expat again... I installed Python 2.2b1 a while ago, and
now realised that I hadn't installed PyXML/4Suite; so I ran
the "setup.py install" in both (without doing anything about
Expat which I have lying about), and now get the following:

Python 2.2b1 (#4, Nov  6 2001, 12:21:03)
[GCC 3.0.1] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import xml.xslt
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/home/idi/f/mlh/python/current/lib/python2.2/site-packages/_xmlplus/
xslt/__init__.py", line 38, in ?
    from Ft.Lib import pDomlette
  File "/home/idi/f/mlh/python/current/lib/python2.2/site-packages/Ft/Lib/pD
omlette.py", line 718, in ?
    from pDomletteReader import *
  File "/home/idi/f/mlh/python/current/lib/python2.2/site-packages/Ft/Lib/pD
omletteReader.py", line 27, in ?
    from xml.parsers import expat
  File "/home/idi/f/mlh/python/current/lib/python2.2/site-packages/_xmlplus/
parsers/expat.py", line 4, in ?
    from pyexpat import *
ImportError: ld.so.1: python: fatal: relocation error: file /home/idi/f/mlh/
python/current/lib/python2.2/site-packages/_xmlplus/parsers/pyexpat.so: symb
ol _PyGC_Insert: referenced symbol not found
>>>

I guess I haven't linked properly with libexpat or something, but
I don't find it exactly obvious how to do that and I don't remember
where I found out the last time...

(May it be that some residual stuff compiled against Python 2.1 is
still lingering about, destroying everything?)

--
Magnus Lie Hetland                           The Anygui Project
http://hetland.org                           http://anygui.sf.net