
27 Jun
2015
27 Jun
'15
8:16 a.m.
On Sat, 27 Jun 2015 07:59:33 -0400
Dominick Samperi
To test ghci 7.10.1 I compiled from source and simply placed the resulting bin in my PATH. Perhaps this is not enough?
Sounds right. What does 'ghc --info' show?
On the second suggestion, I tried ldd and found that the undefined symbol is flagged 'B' in the nm output (.bss section).
This symbol is defined in the shared library, and the output of ghc -v2 shows that this shared library is linked without problems on startup of ghci. When the Haskell/FFI function is run the symbol is undefined.
Can you craft a complete small example with a build script that shows the error? -- Sergei