#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):
Replying to [comment:17 hgolden]:
> To me, this means that ghci dynamic loader can find libstdc++. Note: On
my system, it is located at /usr/lib/libstdc++.so.5 which is a symlink to
/usr/lib/libstdc++.so.5.0.7.
That's not what {{{ghci}}} is finding. If you run it under {{{strace}}},
you'll find that it is picking up a symlink named {{{libstdc++.so}}}
somewhere else. {{{ghci}}} doesn't search for a shared library by its
extended name, only with the {{{.so}}} suffix.
> '''bos''': Does the floating point exception only occur when using
[comment:14 ghci], but not ghc?
Right. But that's not my focus here. I might open a separate bug for that.
This one should remain focused on the library finding issue.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5289#comment:19>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs