You are currently browsing the tag archive for the ‘haskell’ tag.
Time to time internetz stumble upon a ghci bug which is seen as inability to load base haskell package:
Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... ghc: /usr/lib64/ghc-7.4.2/base-22.214.171.124/HSbase-126.96.36.199.o: unknown symbol `stat' ghc: unable to load package `base'
But the bug was most popular across rare gentoo users. An interesting correlation!
This post is about the root of this problem: the gory implementation details of ghci dynamic loader down to libC and even ELF symbols!
Not scared? Fasten your belts and Read On!