Estoy tratando de instalar PostgreSQL a través de asdf-postgres
ejecutando el plugin asdf install postgres 12.9
en el MacBook Pro 2021 (con M1 Max, ejecutando Monterey 12.0.1) pero obteniendo el siguiente error:
100 190 100 190 0 0 345 0 --:--:-- --:--:-- --:--:-- 346
/Users/kushal/.asdf/plugins/postgres/bin/install: line 45: uconv: command not found
Building with options: --prefix=/Users/kushal/.asdf/installs/postgres/12.9 --with-uuid=e2fs --with-openssl --with-zlib --with-libraries=/opt/local/lib:/sw/lib:/usr/local/opt/openssl/lib:/opt/homebrew/opt/openssl/lib:/usr/local/lib:/usr/lib --with-includes=/opt/local/lib:/sw/lib:/usr/local/opt/openssl/include:/opt/homebrew/opt/openssl/include:/opt/homebrew/include:/usr/local/include:/usr/local/lib:/usr/lib --with-uuid=e2fs --with-openssl --with-libraries=/usr/local/lib:/opt/homebrew/opt/openssl@1.1/lib --with-includes=/usr/local/include:/opt/homebrew/opt/openssl@1.1/include
checking build system type... Invalid configuration `arm64-apple-darwin21.1.0': machine `arm64-apple' not recognized
configure: error: /bin/sh config/config.sub arm64-apple-darwin21.1.0 failed
Tenga en cuenta que estoy tratando de instalarlo contra OpenSSL 1.1 (que ya está instalado a través de Homebrew). Además, estoy exportando POSTGRES_EXTRA_CONFIGURE_OPTIONS
en mi zshrc
como:
export POSTGRES_EXTRA_CONFIGURE_OPTIONS="--with-uuid=e2fs --with-openssl --with-libraries=/usr/local/lib:/opt/homebrew/opt/openssl@1.1/lib --with-includes=/usr/local/include:/opt/homebrew/opt/openssl@1.1/include"
Creo que Postgres ya es compatible con Apple Silicon, ¿me estoy perdiendo algo?