[Haskell-cafe] compilation succeeds -- execution fails
nominolo at googlemail.com
Fri Mar 28 05:40:15 EDT 2008
Did you try removing all .hi and .o files?
On 28 mar 2008, at 10.34, Jason Dusek wrote:
> I have a program here:
> currently at revision 302, which compiles okay but I can't get
> it to work. I'm using the FFI to take a (currently small)
> array and translate it into a Map.
> It compiles fine and loads fine -- but it doesn't run fine:
> GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help
> Loading package base ... linking ... done.
> Prelude> import Data.Char.CEDICT
> Prelude Data.Char.CEDICT> traditional 'a'
> Loading package array-0.1.0.0 ... linking ... done.
> Loading package containers-0.1.0.1 ... linking ... done.
> Loading package parsec-188.8.131.52 ... linking ... done.
> Loading package utf8-string-0.2 ... linking ... done.
> Loading package cedict-0.1.1 ... linking ... <interactive>:
> unknown symbol
> ghc-6.8.2: unable to load package `cedict-0.1.1'
> Prelude Data.Char.CEDICT>
> I'm on a Mac -- Leopard. A whole bunch of things *could* be
> wrong -- I'd appreciate some help in narrowing the list.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe