Hello,

I get this when using the logfloat package via ghci on Windows. For example

*Main> :m + Data.Number.LogFloat
*Main Data.Number.LogFloat> logFloat (1.0::Float)
Loading package syb ... linking ... done.
Loading package array-0.2.0.0 ... linking ... done.
Loading package logfloat-0.12.0.1 ... can't load .so/.DLL for: m (addDLL: could not load DLL)
*Main Data.Number.LogFloat>

When compiling the program using ghc, it works fine. This was previously reported as a ghc bug http://hackage.haskell.org/trac/ghc/ticket/3242 where the reporter was getting the message using hipmunk. The ticket was closed as the issue was deemed to be a bug in hipmunk, not GHC.

As the ticket reporter asked, what is the correct approch to get around this? I have tried specifying -lm on ghci startup line but my system doesn't seem to have a libm.dll or anything similar. Is there such a thing?

Thanks

Mark
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to