[Haskell-cafe] Trouble using HDBC-postgres on Windows - can't find libpq.dll

Justin Bailey jgbailey at gmail.com
Mon Nov 12 18:41:44 EST 2007

I've compiled HDBC 1.0.1 and HDBC-postgresql-1.0.1 under Windows with
a little tweaking. However, when I try to run the tests I get this

  >runghc -package HDBC-postgresql  runtests.hs
  ghc.exe: can't load .so/.DLL for: pq (addDLL: unknown error)

libpq.dll is in my path, and I added the correct paths to the .cabal
file when I built it. Does anyone have an idea what might be the


p.s. I have postgres 8.2 installed if that matters.

More information about the Haskell-Cafe mailing list