Hello Richard,
it sounds like you're using a ghc build that doesn't have the -dyn versions of the builtin libraries, do you have the same problem when doing a shared build without the foreign call ?

On Mon, Oct 15, 2012 at 9:25 AM, Richard Zetterberg <richard.zetterberg@googlemail.com> wrote:
GHCziTypes_ZC_con_info` can not be used when making a
shared object; recompile with -fPIC
    ../src/Shared.so: could not read