
Well, I answered my own question. Unlike UNIX, specifying a library
without the leading "lib" causes the library to not be found. Not sure
if that's a GHC linking problem or what. Changing the library
requirement to "libpq" in the .cabal file did the trick tho.
Justin
---------- Forwarded message ----------
From: Justin Bailey
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 problem? Justin p.s. I have postgres 8.2 installed if that matters.