help on import libxml2

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


Hi,

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/
libxml2.py'>
>>>


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/libxml2.py", line 1, in
<module>
    import libxml2mod
ImportError: ld.so.1: python: fatal: relocation error: file /usr/local/
lib/python2.5/site-packages/libxml2mod.so: symbol
xmlXIncludeProcessFlags: referenced symbol not found
>>>

No PYTHON* environment variables are set for either user.

Any help would be appreciated.

Jianbing




More information about the Python-list mailing list