
#11499: Loading temp shared object failed in GHCi -------------------------------+--------------------------------------- Reporter: alfa07 | Owner: Type: bug | Status: infoneeded Priority: normal | Milestone: Component: GHCi | Version: 7.10.3 Resolution: | Keywords: dynamic linking Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: #10458 | Differential Rev(s): Wiki Page: | -------------------------------+--------------------------------------- Comment (by alfa07): Using patch as Simon suggested fixes issue after recompiling ghc-7.10.3 with it (rts/Linker.c): {{{ - hdl = dlopen(dll_name, RTLD_LAZY|RTLD_LOCAL); /* see Note [RTLD_LOCAL] */ + hdl = dlopen(dll_name, RTLD_LAZY | RTLD_GLOBAL); }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11499#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler