Hi Kurt, ghc needs to link libraries to the resulting code. An easy to link to the libraries is to use the ghc --make option: ghc --make testsql.hs Thanks, Mark