You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to build a fully static linked postgrest binary with this docker image and met following error when
building the postgresql-libpq pacakge:
Failed to build postgresql-libpq-0.9.4.3. The failure occurred during the
configure step.
Build log (
/root/.cabal/logs/ghc-8.8.4/postgresql-libpq-0.9.4.3-7432e0030ca564c2b2e715ebcca1b97ed2ae6fb6b9074429e2384c2bc3647c3b.log
):
[1 of 1] Compiling Main ( /mnt/dist-newstyle/tmp/src-23/postgresql-libpq-0.9.4.3/dist/setup/setup.hs, /mnt/dist-newstyle/tmp/src-23/postgresql-libpq-0.9.4.3/dist/setup/Main.o )
Linking /mnt/dist-newstyle/tmp/src-23/postgresql-libpq-0.9.4.3/dist/setup/setup ...
Configuring postgresql-libpq-0.9.4.3...
setup: The program 'pg_config' is required but it could not be found.
cabal: Failed to build postgresql-libpq-0.9.4.3 (which is required by
exe:postgrest from postgrest-7.0.1). See the build log above for details.