[Haskell-cafe] foreign libraries, dylibs, OS X Mavericks and GHC 7.8.3 woes

Alfredo Di Napoli alfredo.dinapoli at gmail.com
Tue Oct 14 17:20:43 UTC 2014

Hi Carter,
Thanks for answering.
It's strange though, as that linker symbol refer to the cbits overlay (aka the foreign code Bryan wrote to call Snappy from Haskell)

What am I missing ?

Sent from my iPad

> On 14/ott/2014, at 15:59, Carter Schonwald <carter.schonwald at gmail.com> wrote:
> Sounds like snappy isn't doing the right linking on its side.  Might be a bug there?
>> On Oct 14, 2014 6:42 AM, "Alfredo Di Napoli" <alfredo.dinapoli at gmail.com> wrote:
>> Hello Cafe,
>> I will let this gist talk for me:
>> https://gist.github.com/adinapoli/d4c33a9d1ea85bcaebdf
>> Even though there is a solution, it seems extremely unsatisfying having to specify such paths manually.
>> I always had very good experiences with FFI, OS X and GHC in the past, so this strikes me as a surprise.
>> I have read a bit here and there about GHC 7.8.3 introducing the -dynamic flag (not sure about the specific problem it aims to solve, though) and changing some internal when it
>> comes to library linking, but information is scattered and fragmented.
>> I would like to:
>> 1) Shed some light on my specific use case: Can I do better here? (aka have GHC figure out automatically all the nitty gritty details)
>> 2) Any sort of pointers to documentation, tutorials, papers, everything to "teach me to fish”?
>> Many thanks,
>> Alfredo 
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20141014/bcf14447/attachment.html>

More information about the Haskell-Cafe mailing list