help on import libxml2

jianbing.chen at jianbing.chen at
Thu Aug 14 22:43:48 CEST 2008


I have this weird situation where on the same machine(solaris 8,
python 2.5), one user can do this with no problem:

>>> import libxml2
>>> libxml2
<module 'libxml2' from '/usr/local/lib/python2.5/site-packages/'>

While the another one get this:
>>> import libxml2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/sea/local/lib/python2.5/site-packages/", line 1, in
    import libxml2mod
ImportError: python: fatal: relocation error: file /usr/local/
lib/python2.5/site-packages/ symbol
xmlXIncludeProcessFlags: referenced symbol not found

No PYTHON* environment variables are set for either user.

Any help would be appreciated.


More information about the Python-list mailing list