Hi Leon, I was able to successfully install the package "postgresql-libpq-0.9.0.0" on GNU / Linux (Centos 6.5), however, the following runtime error occurs:
Unable to load packagepostgresql-libpq-0.9.0.0
$ ghci
GHCi, version 7.6.3: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> import Database.PostgreSQL.LibPQ
Prelude Database.PostgreSQL.LibPQ> connectdb undefined
Loading package array-0.4.0.1 ... linking ... done.
Loading package deepseq-1.3.0.1 ... linking ... done.
Loading package bytestring-0.10.0.2 ... linking ... done.
Loading package postgresql-libpq-0.9.0.0 ... linking ... : /home/haskell/.cabal/lib/postgresql-libpq-0.9.0.0/ghc-7.6.3/HSpostgresql-libpq-0.9.0.0.o: unknown symbol PQescapeIdentifier' ghc: unable to load packagepostgresql-libpq-0.9.0.0'
Prelude Database.PostgreSQL.LibPQ>
Hi Leon, I was able to successfully install the package "postgresql-libpq-0.9.0.0" on GNU / Linux (Centos 6.5), however, the following runtime error occurs:
Unable to load packagepostgresql-libpq-0.9.0.0
$ ghci
GHCi, version 7.6.3: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> import Database.PostgreSQL.LibPQ
Prelude Database.PostgreSQL.LibPQ> connectdb undefined
Loading package array-0.4.0.1 ... linking ... done.
Loading package deepseq-1.3.0.1 ... linking ... done.
Loading package bytestring-0.10.0.2 ... linking ... done.
Loading package postgresql-libpq-0.9.0.0 ... linking ... : /home/haskell/.cabal/lib/postgresql-libpq-0.9.0.0/ghc-7.6.3/HSpostgresql-libpq-0.9.0.0.o: unknown symbol
PQescapeIdentifier' ghc: unable to load packagepostgresql-libpq-0.9.0.0'Prelude Database.PostgreSQL.LibPQ>