Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ghc: /usr/local/lib/libpq.a: unknown symbol `ERR_get_error' #12

Closed
AlexanderAA opened this issue Dec 2, 2013 · 0 comments
Closed

ghc: /usr/local/lib/libpq.a: unknown symbol `ERR_get_error' #12

AlexanderAA opened this issue Dec 2, 2013 · 0 comments

Comments

@AlexanderAA
Copy link

(Copied from lpsmith/postgresql-simple#92 )
Linking on OpenBSD 5.4-release fails with "unknown symbol `ERR_get_error'" message.

Resolving dependencies...
Configuring postgresql-simple-0.3.9.1...
Building postgresql-simple-0.3.9.1...
Preprocessing library postgresql-simple-0.3.9.1...
[ 1 of 32] Compiling Database.PostgreSQL.Simple.TypeInfo.Types ( src/Database/PostgreSQL/Simple/TypeInfo/Types.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/TypeInfo/Types.o )
[ 2 of 32] Compiling Database.PostgreSQL.Simple.Time.Implementation ( src/Database/PostgreSQL/Simple/Time/Implementation.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/Time/Implementation.o )
[ 3 of 32] Compiling Database.PostgreSQL.Simple.Time.Internal ( src/Database/PostgreSQL/Simple/Time/Internal.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/Time/Internal.o )
[ 4 of 32] Compiling Database.PostgreSQL.Simple.SqlQQ ( src/Database/PostgreSQL/Simple/SqlQQ.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/SqlQQ.o )
[ 5 of 32] Compiling Database.PostgreSQL.Simple.Time ( src/Database/PostgreSQL/Simple/Time.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/Time.o )
[ 6 of 32] Compiling Database.PostgreSQL.Simple.TypeInfo.Static ( src/Database/PostgreSQL/Simple/TypeInfo/Static.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/TypeInfo/Static.o )
[ 7 of 32] Compiling Database.PostgreSQL.Simple.BuiltinTypes ( src/Database/PostgreSQL/Simple/BuiltinTypes.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/BuiltinTypes.o )
[ 8 of 32] Compiling Database.PostgreSQL.Simple.Arrays ( src/Database/PostgreSQL/Simple/Arrays.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/Arrays.o )
[ 9 of 32] Compiling Database.PostgreSQL.Simple.Types ( src/Database/PostgreSQL/Simple/Types.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/Types.o )
[10 of 32] Compiling Database.PostgreSQL.Simple.TypeInfo.Macro ( src/Database/PostgreSQL/Simple/TypeInfo/Macro.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/TypeInfo/Macro.o )
[11 of 32] Compiling Database.PostgreSQL.Simple.ToField[boot] ( src/Database/PostgreSQL/Simple/ToField.hs-boot, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/ToField.o-boot )
[12 of 32] Compiling Database.PostgreSQL.Simple.ToRow[boot] ( src/Database/PostgreSQL/Simple/ToRow.hs-boot, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/ToRow.o-boot )
[13 of 32] Compiling Database.PostgreSQL.Simple.ToField ( src/Database/PostgreSQL/Simple/ToField.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/ToField.o )
[14 of 32] Compiling Database.PostgreSQL.Simple.ToRow ( src/Database/PostgreSQL/Simple/ToRow.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/ToRow.o )
[15 of 32] Compiling Database.PostgreSQL.Simple.Ok ( src/Database/PostgreSQL/Simple/Ok.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/Ok.o )
[16 of 32] Compiling Database.PostgreSQL.Simple.Internal ( src/Database/PostgreSQL/Simple/Internal.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/Internal.o )
[17 of 32] Compiling Database.PostgreSQL.Simple.LargeObjects ( src/Database/PostgreSQL/Simple/LargeObjects.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/LargeObjects.o )
[18 of 32] Compiling Database.PostgreSQL.Simple.Notification ( src/Database/PostgreSQL/Simple/Notification.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/Notification.o )
[19 of 32] Compiling Database.PostgreSQL.Simple.Errors ( src/Database/PostgreSQL/Simple/Errors.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/Errors.o )
[20 of 32] Compiling Database.PostgreSQL.Simple.FromField[boot] ( src/Database/PostgreSQL/Simple/FromField.hs-boot, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/FromField.o-boot )
[21 of 32] Compiling Database.PostgreSQL.Simple.FromRow[boot] ( src/Database/PostgreSQL/Simple/FromRow.hs-boot, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/FromRow.o-boot )
[22 of 32] Compiling Database.PostgreSQL.Simple.Compat ( src/Database/PostgreSQL/Simple/Compat.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/Compat.o )
[23 of 32] Compiling Database.PostgreSQL.Simple.Transaction ( src/Database/PostgreSQL/Simple/Transaction.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/Transaction.o )
[24 of 32] Compiling Database.PostgreSQL.Simple[boot] ( src/Database/PostgreSQL/Simple.hs-boot, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple.o-boot )
[25 of 32] Compiling Database.PostgreSQL.Simple.TypeInfo ( src/Database/PostgreSQL/Simple/TypeInfo.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/TypeInfo.o )
[26 of 32] Compiling Database.PostgreSQL.Simple.FromField ( src/Database/PostgreSQL/Simple/FromField.hs, dist/dist-sandbox-7b6ed3e/build/Database/PostgreSQL/Simple/FromField.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
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 containers-0.5.0.0 ... linking ... done.
Loading package binary-0.5.1.1 ... linking ... done.
Loading package byteable-0.1.1 ... linking ... done.
Loading package cryptohash-0.11.1 ... linking ... done.
Loading package text-0.11.3.1 ... linking ... done.
Loading package hashable-1.1.2.5 ... linking ... done.
Loading package transformers-0.3.0.0 ... linking ... done.
Loading package mtl-2.1.2 ... linking ... done.
Loading package parsec-3.1.3 ... linking ... done.
Loading package old-locale-1.0.0.5 ... linking ... done.
Loading package time-1.4.0.1 ... linking ... done.
Loading package unix-2.6.0.1 ... linking ... done.
Loading package network-2.4.2.0 ... linking ... done.
Loading package network-info-0.2.0.3 ... linking ... done.
Loading package random-1.0.1.1 ... linking ... done.
Loading package uuid-1.3.3 ... linking ... done.
Loading package postgresql-libpq-0.8.2.4 ... linking ... ghc: /usr/local/lib/libpq.a: unknown symbol `ERR_get_error'
ghc: unable to load package `postgresql-libpq-0.8.2.4'
Failed to install postgresql-simple-0.3.9.1
AlexanderAA added a commit to AlexanderAA/postgresql-libpq that referenced this issue Dec 2, 2013
Fix issue lpsmith#12
Credit goes to the maintainer of the OpenBSD package, David Coppa.
Tested on OpenBSD 5.4-release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant