[Haskell-cafe] [ghci] unknown symbol in base-unicode-symbols-0.2.1.2 ...

John Obbele john.obbele at gmail.com
Thu Mar 31 00:05:43 CEST 2011


On Wed, Mar 30, 2011 at 10:37:47PM +0200, John Obbele wrote:
> I'm having a problem in GHCi when loading modules relying on the
> base-unicode-symbols package. My prompt gives me the following
> message:
> 
> >> ghci $
> Loading package base-unicode-symbols-0.2.1.2 ... linking ... <interactive>: /home/john/.cabal/lib/base-unicode-symbols-0.2.1.2/ghc-7.0.2/HSbase-unicode-symbols-0.2.1.2.o: unknown symbol `__stginit_basezmunicodezmsymbolszm0zi2zi1zi2_ControlziCategoryziUnicode_'
> ghc: unable to load package `base-unicode-symbols-0.2.1.2'


Oki, so I'm answering to myself: the base-unicode-symbols cabal
file introduces a quirk concerning 'base' version which hides the
symbols in Control.Category.Unicode.

>> base-unicode-symbols.cabal -- line 42-46
  if !flag(old-base)
    build-depends: base >= 3.0 && < 4.4
  else
    build-depends: base >= 3.0.3.1 && < 4.4
    exposed-modules: Control.Category.Unicode

I should contact the maintainer about this …

regards,
/john



More information about the Haskell-Cafe mailing list