opentable/otj-pg-embedded

Lib not found

larinme opened this issue · 3 comments

Hi!

I have got an error with starting Embedded PostrgreSQL

dyld: Library not loaded: @loader_path/../lib/libpq.5.dylib
Referenced from: /var/folders/cs/b7785y7s5g5c2dh1mrdwyvqr0000gn/T/embedded-pg/PG-54fb89bb6d8eed579b8402effb4712c2/bin/initdb
Reason: image not found
[1] 17414 abort -A trust -U postgres -D -E UTF-8

I use it for tests and all of them failed.

Looks like initdb tries to load libpq.5.dylib, but according to postgresql-Darwin-x86_64.txz, it is absent.
I use MacOS BigSur 11.3.

Could you please help with this error?

Same thing here :(

As noted we've released 1.0.0 which is testcontainers based. We expect this resolves the issue, and while PRs are welcome against the legacy branch, we are not planning on formally maintaining pre-1.xx code base.