I am trying to update libpandoc in new versions (above 1.10), and I got all the code fixes (basically ParserState needed to be changed to ReaderOptions and update the default settings).
However, during build I get the following error:
Download package regex-pcre-builtin-0.94.4.6.8.31 ... linking ... ghc: /home/XXXX/.cabal/lib/regex-pcre-builtin-0.94.4.6.8.31/ghc-7.4.1/ HSregex-pcre-builtin-0.94.4.6.8.31.o: unknown symbol `utf8_table4 '
ghc: unable to download package `regex-pcre-builtin-0.94.4.6.8.31 '
Trying to reinstall regex-pcre-builtin I get:
$ cabal install regex-pcre-builtin
Which suggests that reinstalling can actually crash pandoc itself.
I'm new to Haskell, and all my google regex-pcre-builtin and utf8_table4 lead to publications on hpaste.org where people put in the same error.
How can I solve this problem? What should I look for in such situations?
Edit: here is the violation code:
{-
source share