#3242: ghci: can't load .so/.DLL for: m (addDLL: could not load DLL)
------------------------+---------------------------------------------------
Reporter: jeffz1 | Owner:
Type: bug | Status: new
Priority: normal | Component: GHCi
Version: 7.0.1 | Resolution:
Keywords: | Testcase:
Blockedby: | Difficulty: Unknown
Os: Windows | Blocking:
Architecture: x86 | Failure: None/Unknown
------------------------+---------------------------------------------------
Changes (by jwlato):
* status: closed => new
* failure: => None/Unknown
* version: 6.10.2 => 7.0.1
* resolution: invalid =>
Comment:
I'm reopening this because I'm getting the same behavior with ghc-7.0.1
and the package "ieee-0.7", which also specifies a dependency on "m".
It appears that libm is distributed as part of the MinGW stuff with ghc; I
see the file "/e/ghc/ghc-7.0.1/mingw/lib/libm.a". Compiling with ghc
passes the flag "-lm" during the linking step and works properly. It's
only when using ghci that the library can't be found. If I install the
ieee package without the libm dependency programs still build with ghc,
but ghci complains about missing symbols.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3242#comment:7>
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