
Hi, Am Freitag, den 10.02.2012, 18:21 +0100 schrieb Morten Olsen lysgaard:
I tried with: ghc --make -static -rtsopts=all -optl-pthread -optl-static Program.hs
When I copy the binary created over to my x86_64 Ubuntu 11.10 desktop and run it I get: Program: mkTextEncoding: invalid argument (Invalid argument)
this is how I deploy some of my Debian related programs on Debian stable machines. After setting export GCONV_PATH=/usr/lib64/gconv this binary will work fine. (Your path might need adjustment, just find the path that contains gconv-modules and a lot of <encoding>.so files.) Greetings, Joachim -- Joachim "nomeata" Breitner mail@joachim-breitner.de | nomeata@debian.org | GPG: 0x4743206C xmpp: nomeata@joachim-breitner.de | http://www.joachim-breitner.de/