ImportError: ld.so.1: python: fatal: relocation error:
Dirkjan Ochtman
dirkjan at ochtman.nl
Thu May 29 20:04:33 UTC 2008
trich wrote:
> I am sooo new to mercurial and trying to figure it out, any help would be
> appreciated.
> I installed mercurial on SUN sparc solaris 10
> I am getting a python error:
> ImportError: ld.so.1: python: fatal: relocation error: file
> /usr/local/lib/python2.5/lib-dynload/zlib.so: symbol inflateCopy: referenced
> symbol not found
>
> #hg clone Scholarships /u/udptjr/mercurial/sandbox/scholarships
> Not trusting file /uu/mercurial/Scholarships/.hg/hgrc from untrusted user
> dpgm, group jpgmr
> Traceback (most recent call last):
> File "/usr/local/bin/hg", line 20, in <module>
> mercurial.dispatch.run()
> File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line
> 20, in run
> sys.exit(dispatch(sys.argv[1:]))
> File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line
> 29, in dispatch
> return _runcatch(u, args)
> File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line
> 79, in _runcatch
> except revlog.RevlogError, inst:
> File "/usr/local/lib/python2.5/site-packages/mercurial/demandimport.py",
> line 74, in __getattribute__
> self._load()
> File "/usr/local/lib/python2.5/site-packages/mercurial/demandimport.py",
> line 46, in _load
> mod = _origimport(head, globals, locals)
> File "/usr/local/lib/python2.5/site-packages/mercurial/revlog.py", line
> 20, in <module>
> _compress = zlib.compress
> File "/usr/local/lib/python2.5/site-packages/mercurial/demandimport.py",
> line 74, in __getattribute__
> self._load()
> File "/usr/local/lib/python2.5/site-packages/mercurial/demandimport.py",
> line 46, in _load
> mod = _origimport(head, globals, locals)
> ImportError: ld.so.1: python: fatal: relocation error: file
> /usr/local/lib/python2.5/lib-dynload/zlib.so: symbol inflateCopy: referenced
> symbol not found
This actually looks like a Python problem, maybe some mismatch with the
installed zlib? No clue what "relocation errors" mean.
Cheers,
Dirkjan
More information about the Mercurial
mailing list