Create a static Haskell Linux executable

后端 未结 3 1844
庸人自扰
庸人自扰 2020-12-23 17:46

It\'s not often two things I love so much come together to cause me so much annoyance (besides my kids). I\'ve written a Haskell program at work that uses libraries like tex

3条回答
  •  爱一瞬间的悲伤
    2020-12-23 18:20

    I found out the problem. It seems that the link to the Biohaskell page is accurate: this is a problem loading iconv. This occurs when calling openFile, but not when calling openBinaryFile. Since xml-enumerator uses the latter, it worked just fine. Switching over the rest of the code to use openBinaryFile instead (via Data.Enumerator.Binary.enumFile) got everything to work.

    This is a good workaround for my use case, but the bug still exists.

提交回复
热议问题