diff --git a/postgresql-libpq.cabal b/postgresql-libpq.cabal
--- a/postgresql-libpq.cabal
+++ b/postgresql-libpq.cabal
@@ -1,5 +1,5 @@
 Name:                postgresql-libpq
-Version:             0.8.2.4
+Version:             0.8.2.5
 Synopsis:            low-level binding to libpq
 
 Description:         This is a binding to libpq: the C application
@@ -28,7 +28,10 @@
                      , bytestring
 
   GHC-Options:       -Wall
-  Extra-Libraries:   pq
+  Extra-Libraries: pq
+  if os(openbsd)
+    Extra-Libraries:  crypto ssl com_err asn1 krb5 wind roken heimbase
+
   -- Other-modules:
   Build-tools:       hsc2hs
 
@@ -39,4 +42,4 @@
 source-repository this
   type:     git
   location: http://github.com/lpsmith/postgresql-libpq
-  tag:      v0.8.2.4
+  tag:      v0.8.2.5
