zonkyio / embedded-postgres-binaries

Lightweight bundles of PostgreSQL binaries with reduced size intended for testing purposes.
Apache License 2.0
138 stars 29 forks source link

Make Darwin bundle fully self-contained by including libpq #17

Closed glasser closed 4 years ago

glasser commented 4 years ago

I don't use your fork but it looks nice. I prepared a PR for the upstream but it looks like your fork has the same issue. Fortunately it's a one line fix.

Full details at https://github.com/opentable/otj-pg-embedded/pull/135 but the gist is that bin/initdb links to the PG C client libpq but the repack scripts don't include that library. It mostly works because OSX comes with some version of libpq but the results aren't as embedded as you would like!

tomix26 commented 4 years ago

Thanks for the report. I will take a look at it and fix it.