[Haskell-cafe] Calling Haskell from C
allbery.b at gmail.com
Sat Jan 14 12:48:58 UTC 2017
On Sat, Jan 14, 2017 at 8:45 AM, <dominic at steinitz.org> wrote:
> Apologies. I put the output of “-l” (not “-L”) here:
> I couldn’t immediately see anything that tells me how @rpath is resolved.
Hm, no RPATH entries indeed. There's no fallback for executables, so it's
probably not even looking for the library but just failing immediately. You
could probably make this work by forcing an RPATH entry (-Wl,-rpath,...).
(Or, use "install_name_tool -add_rpath the_path_here a.out" to patch one
into the existing binary.)
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