Different behavior in ghci 7.8.3 vs 7.10.1?

Dominick Samperi djsamperi at gmail.com
Sat Jun 27 03:05:55 UTC 2015


Hello,

I'm trying to run code that works with ghci 7.8.3 under ghci 7.10.1
but this fails.

Under 7.8.3, when I run from the shell:
export LD_LIBRARY_PATH=thepath
ghci -lmylib -fno-ghci-sandbox mydriver.hs

I see the usual startup diagnostics along with
Loading object (dynamic) mylib ... done
final link ... done
[1 of 1] Compiling Main
Main>

But under 7.10.1, when I do the same, there is no indication that
linking happens, and when I try to run the program there are
undefined references.

I probably missed the post that explains this behavior. Can somebody
provide a pointer to a work-around?

Thanks,
Dominick


More information about the ghc-devs mailing list