[GHC] #3242: ghci: can't load .so/.DLL for: m (addDLL: could not load DLL)

GHC ghc-devs at haskell.org
Mon Oct 6 03:30:21 UTC 2014


#3242: ghci: can't load .so/.DLL for: m (addDLL: could not load DLL)
---------------------------------------+---------------------------
              Reporter:  jeffz1        |            Owner:
                  Type:  bug           |           Status:  new
              Priority:  normal        |        Milestone:  7.10.1
             Component:  GHCi          |          Version:  7.4.1
            Resolution:                |         Keywords:
      Operating System:  Windows       |     Architecture:  x86
       Type of failure:  None/Unknown  |       Difficulty:  Unknown
             Test Case:                |       Blocked By:  3658
              Blocking:                |  Related Tickets:  #7097
Differential Revisions:                |
---------------------------------------+---------------------------

Comment (by dkwright):

 Happening for me with 2014.2.0.0 as well.  Loading this code (stripped
 down from something more practical), example.hs, in ghci and typing
 {{{main}}}, gives the error:
 {{{
 module Main where

 import Criterion.Main

 main :: IO()
 main = putStrLn "example"
 }}}

 Without the import of Criterion.Main, no error.  It looks like it's a
 dependency on ieee754 from Criterion.Main that does it.

 Error:
 {{{
 SNIP
 Loading package ansi-wl-pprint-0.6.7.1 ... linking ... done.
 Loading package blaze-builder-0.3.3.4 ... linking ... done.
 Loading package cassava-0.4.2.0 ... linking ... done.
 Loading package MonadRandom-0.3 ... linking ... done.
 Loading package exceptions-0.6.1 ... linking ... done.
 Loading package nats-0.2 ... linking ... done.
 Loading package semigroups-0.15.3 ... linking ... done.
 Loading package transformers-compat-0.3.3.4 ... linking ... done.
 Loading package void-0.6.1 ... linking ... done.
 Loading package contravariant-1.2 ... linking ... done.
 Loading package tagged-0.7.2 ... linking ... done.
 Loading package distributive-0.4.4 ... linking ... done.
 Loading package comonad-4.2.2 ... linking ... done.
 Loading package semigroupoids-4.2 ... linking ... done.
 Loading package bifunctors-4.1.1.1 ... linking ... done.
 Loading package prelude-extras-0.4 ... linking ... done.
 Loading package profunctors-4.2.0.1 ... linking ... done.
 Loading package free-4.9 ... linking ... done.
 Loading package transformers-base-0.4.3 ... linking ... done.
 Loading package monad-control-0.3.3.0 ... linking ... done.
 Loading package either-4.3.1 ... linking ... done.
 Loading package ieee754-0.7.3 ... <interactive>: m: The specified module
 could n
 ot be found.
 can't load .so/.DLL for: m.dll (addDLL: could not load DLL)
 *Main>
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/3242#comment:29>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list