zonkyio / embedded-postgres-binaries

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

MacOS arm64 binaries for 10, 11, 12, 13 do not contain arm64 binaries and require rosetta. #58

Closed hgschmie closed 1 year ago

hgschmie commented 1 year ago

The following embedded-postgres-binaries-darwin-arm64v8-x.y.z.jar archives do not actually contain arm64v8 binaries:

(tested with

jar xf embedded-postgres-binaries-darwin-arm64v8-10.20.0.jar
tar xjf postgres-darwin-arm_64.txz
file bin/postgres

)

all released 14.x versions are ok (contain both x86_64 and arm64)

as a result, none of these binaries actually work on an arm64 mac unless rosetta is installed.

hgschmie commented 1 year ago

(tested on a AWS mac2 instance with and without rosetta installed)

tomix26 commented 1 year ago

Yes, it's known issue, I described it here: https://github.com/zonkyio/embedded-postgres/issues/86#issuecomment-1120425822