library path problem

Simon Marlow simonmar at
Mon Feb 21 06:43:17 EST 2005

On 18 February 2005 19:12, Sven Panne wrote:

> 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: 

Actually mtl *is* exposed by default, but you still have to explictly
list packages when linking in "batch" mode.


More information about the Glasgow-haskell-users mailing list