[Haskell-cafe] Calling Haskell from C
allbery.b at gmail.com
Fri Jan 13 16:06:39 UTC 2017
On Fri, Jan 13, 2017 at 8:53 AM, <dominic at steinitz.org> wrote:
> export DYLD_LIBRARY_PATH=/Users/dom/Library/Haskell/ghc-8.0.1/lib/
That's a good way to break things. Consider DYLD_FALLBACK_LIBRARY_PATH
Also, use otool -l a.out to inspect the RPATH commands embedded in a.out;
that will tell you where dyld searches when it sees @rpath/Foo.dylib.
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe