我正在尝试在 arm64 进程信任中使用带有柴油的 sql。所以我做了disel设置并得到以下错误。换句话说,我认为我需要为 arm64 使用 postgresql。 我应该如何安装它?
dyld: Library not loaded: @rpath/libpq.5.dylib
Referenced from: /Users/~~/.cargo/bin/diesel
Reason: no suitable image found. Did find:
/Applications/Postgres.app/Contents/Versions/13/lib/libpq.5.dylib: mach-o, but wrong architecture
/Applications/Postgres.app/Contents/Versions/13/lib/libpq.5.dylib: stat() failed with errno=1
[1] 51392 abort diesel setup
当我运行以下命令时,收到以下错误
arch -arm64 brew install postgresql
Please create a new installation in /opt/homebrew using one of the
"Alternative Installs" from:
https://docs.brew.sh/Installation
You can migrate your previously installed formula list with:
brew bundle dump
如何安装?