library path problem

Sven Panne Sven.Panne at aedion.de
Fri Feb 18 14:12:23 EST 2005


Akos Korosmezey wrote:
> When I compile a simple code importing Control.Monad.State with 
> ghc-6.4.20050217 on Linux I get linking errors:  [...]

You have to use "-package mtl" when "--make" is not used, because mtl (where
Control.Monad.State resides) is not an auto package, for more details see:

    http://haskell.org/ghc/docs/latest/html/users_guide/packages.html

Cheers,
    S.


More information about the Glasgow-haskell-users mailing list