On 5 August 2011 00:45, Gary Klindt <gary.klindt at uni-konstanz.de> wrote: > Hi all, > > I tried using a database via haskell. The following simple test program > could not be compiled via 'ghc Main.hs'. The output of ghc is: You need to tell ghc what libraries to link. Try ghc --make Main.hs