Hi, I'm running the Dec. 21 amd64 snapshot with Dec. 29 packages.
Trying to use hs-HDBC-postgresql-2.3.2.1p0 (from packages) or postgresql-libpq (via cabal install) in ghci ends in a linking failure similar to the problems we had back in october when ghc was updated. A ghc-compiled binary that uses postgresql-libpq runs fine. I tried some other hs packages in ghci like hs-HDBC-mysql-0.6.6.0p0, hs-HDBC-sqlite3-2.3.3.0p1 and hs-network-2.3.1.0 but they worked as expected. I don't think the packages are to blame as they work in ghci on the ubuntu of my gf. So, did someone else notice ghci linker problems since the workaround was commited back in october? Or is it possible, that the libpq.a archive is causing this? $ ghci GHCi, version 7.4.2: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. > :m + Database.HDBC.PostgreSQL > Database.HDBC.PostgreSQL.warning Loading package bytestring-0.9.2.1 ... linking ... done. Loading package array-0.4.0.0 ... linking ... done. Loading package deepseq-1.3.0.0 ... linking ... done. Loading package containers-0.4.2.1 ... linking ... done. Loading package transformers-0.3.0.0 ... linking ... done. Loading package mtl-2.1.2 ... linking ... done. Loading package old-locale-1.0.0.4 ... linking ... done. Loading package old-time-1.1.0.0 ... linking ... done. Loading package text-0.11.2.3 ... linking ... done. Loading package time-1.4 ... linking ... done. Loading package convertible-1.0.11.1 ... linking ... done. Loading package utf8-string-0.3.8 ... linking ... done. Loading package HDBC-2.3.1.1 ... linking ... done. Loading package parsec-3.1.3 ... linking ... done. Loading package HDBC-postgresql-2.3.2.1 ... linking ... <interactive>: /usr/local/lib/libpq.a: unknown symbol `ERR_get_error' ghc: unable to load package `HDBC-postgresql-2.3.2.1' > $ ghci GHCi, version 7.4.2: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. > :m + Database.PostgreSQL.LibPQ > Database.PostgreSQL.LibPQ.toRow 3 Loading package bytestring-0.9.2.1 ... linking ... done. Loading package postgresql-libpq-0.8.2.1 ... linking ... <interactive>: /usr/local/lib/libpq.a: unknown symbol `ERR_get_error' ghc: unable to load package `postgresql-libpq-0.8.2.1' >