#5289: Can't use ghci with a library linked against libstdc++ ---------------------------------+------------------------------------------ Reporter: bos | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.2.1 Component: GHCi | Version: 7.0.3 Keywords: | Testcase: Blockedby: | Difficulty: Os: Unknown/Multiple | Blocking: Architecture: Unknown/Multiple | Failure: GHCi crash ---------------------------------+------------------------------------------
Comment(by bos): On Mac OS X, if I strong-arm ghci into finding `libstdc++`, it fails: {{{ $ ln -sf $(gcc -print-file-name=libstdc++.dylib) $ ls -l libstdc++.dylib lrwxrwxr-x 1 bos staff 54 Jul 15 12:31 libstdc++.dylib@ -> /usr/lib/gcc/i686-apple-darwin10/4.2.1/libstdc++.dylib $ ghci GHCi, version 7.0.3: http://www.haskell.org/ghc/ :? for help Prelude> :m +Data.Double.Conversion.Text Data.Text Prelude Data.Double.Conversion.Text Data.Text> toShortest 1 Loading [...] Loading package double-conversion-0.2.0.0 ... can't load .so/.DLL for: stdc++ (dlopen(libstdc++.dylib, 9): no suitable image found. Did find: libstdc++.dylib: can't map) }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5289#comment:11> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs