[GHC] #8266: Dynamic linking on Mac
GHC
ghc-devs
Thu Oct 3 02:20:44 UTC 2013
#8266: Dynamic linking on Mac
--------------------------------------------+------------------------------
Reporter: kazu-yamamoto | Owner:
Type: bug | Status: new
Priority: highest | Milestone:
Component: Build System | Version: 7.7
Resolution: | Keywords:
Operating System: MacOS X | Architecture:
Type of failure: GHC doesn't work at all | Unknown/Multiple
Test Case: | Difficulty: Unknown
Blocking: | Blocked By:
| Related Tickets:
--------------------------------------------+------------------------------
Comment (by kazu-yamamoto):
Wait. A program compiled with dynamic linking cannot search its libraries:
{{{
% cat test.hs
main = putStrLn "Hello"
% ghc -fforce-recomp -dynamic test.hs
% ./test
dyld: Library not loaded:
@rpath/base-4.7.0.0/libHSbase-4.7.0.0-ghc7.7.20131001.dylib
Referenced from: /Users/kazu/./test
Reason: image not found
zsh: trace trap ./test
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8266#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list