opentable/otj-pg-embedded

M1 is not supported from the box

Closed this issue · 2 comments

On a M1 MacBook the packaged initdb binary is of wrong architecture, ending up with errors:

20:36:03.428 [log:pid(40821)] INFO  init-87e446c7-ebfd-4b18-8514-176fbbadd2b3:initdb - dyld[40821]: Library not loaded: @loader_path/../lib/libpq.5.dylib

Exception encountered when invoking run on a nested suite - Process [/var/folders/tn/grglkq4521sgkw60t257zmw00000gq/T/embedded-pg/PG-578c3302bce806451b07e3a73d8438d1/bin/initdb, -A, trust, -U, postgres, -D, /var/f\
olders/tn/grglkq4521sgkw60t257zmw00000gq/T/epg15597056772387068912, -E, UTF-8] failed

There is a workaround: #163 (comment)

Correct, however, beginning to be irrelevant. We are releasing a docker based version and that does work on M1