[darcs-users] problem with GNU/Linux 64-bit binary
Olivier Schwander
olivier.schwander at chadok.info
Mon Jan 24 14:55:56 UTC 2011
Le 13 Jan 2011 22:25, Dave Love a écrit:
> I just had someone complain at not being able to run one of the
> distributed binaries (http://wiki.darcs.net/Binaries#gnulinux) to access
> a repo of mine, and I can reproduce the problem. Running
> http://teratorn.org/code/darcs-2.5.0-linux-amd64-ghc6.12.3-CURL-static.bin.bz2
> on 64-bit RedHat 5 yields
>
> $ ./darcs-2.5.0-linux-amd64-ghc6.12.3-CURL-static.bin -h
> darcs-2.5.0-linux-amd64-ghc6.12.3-CURL-static.bin: mkTextEncoding: invalid argument (Invalid argument)
>
> However, on Ubuntu 10.4, I get the normal help screen. I assumed when
> he complained with that message that it was locale-specific, but both
> systems are utf-8, and trying LC_ALL=C doesn't help.
>
> The 32-bit static binary
> (http://teratorn.org/code/darcs-2.5.0-linux-i386-ghc6.12.3-CURL-static.bin.bz2)
> doesn't seem to have the problem, and I have a working shared build of
> my own, of course.
Both 32 and 64 bits versions fail miserably for me on Fedora 14 64
bits. However, on an amd64 Debian Sid box, only the amd64 binary works,
not the i386 one.
So I think it's not directly related to architecture but rather to an
environment problem. And that "Just try the i386 version" is not a
sufficient workaround.
Cheers,
Olivier
More information about the darcs-users
mailing list