#3242: ghci: can't load .so/.DLL for: m (addDLL: could not load DLL)
-----------------------+----------------------------------------------------
    Reporter:  jeffz1  |        Owner:         
        Type:  bug     |       Status:  closed 
    Priority:  normal  |    Milestone:         
   Component:  GHCi    |      Version:  6.10.2 
    Severity:  normal  |   Resolution:  invalid
    Keywords:          |   Difficulty:  Unknown
    Testcase:          |           Os:  Windows
Architecture:  x86     |  
-----------------------+----------------------------------------------------
Comment (by jeffz1):

 Ah, if it's a bug in hipmunk, do you have any idea of the correct
 approach?

 I tried modifying Hipmunk's .cabal to instead be:

 if !os(windows) {
     Extra-Libraries: m
 }

 cabal configure, cabal build, cabal install
 in ghci, if I try initChipmunk again, I get:

 Loading package syb ... linking ... <interactive>: C:\Program
 Files\Haskell\Hipm
 unk-0.2.2\ghc-6.10.2\HSHipmunk-0.2.2.o: unknown symbol `_fmodf'
 : unable to load package `syb'

 So I guess that isn't correct either.  GHC works fine with m or without m,
 it's just ghci that has the issue.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3242#comment:2>
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

Reply via email to