Installing dependencies for postgresql@12: krb5
==> Installing postgresql@12 dependency: krb5
==> Pouring krb5-1.19.1.big_sur.bottle.tar.gz
==> Caveats
krb5 is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have krb5 first in your PATH, run:
echo 'export PATH="/usr/local/opt/krb5/bin:$PATH"' >> ~/.zshrc
echo 'export PATH="/usr/local/opt/krb5/sbin:$PATH"' >> ~/.zshrc
For compilers to find krb5 you may need to set:
export LDFLAGS="-L/usr/local/opt/krb5/lib"
export CPPFLAGS="-I/usr/local/opt/krb5/include"
For pkg-config to find krb5 you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/krb5/lib/pkgconfig"
==> Summary
🍺 /usr/local/Cellar/krb5/1.19.1: 162 files, 5.2MB
==> Installing postgresql@12
==> Pouring postgresql@12--12.6_1.big_sur.bottle.1.tar.gz
==> /usr/local/Cellar/postgresql@12/12.6_1/bin/initdb --locale=C -E UTF-8 /usr/local/var/postgresql@12
==> Caveats
This formula has created a default database cluster with:
initdb --locale=C -E UTF-8 /usr/local/var/postgresql@12
For more details, read:
https://www.postgresql.org/docs/12/app-initdb.html
postgresql@12 is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.
If you need to have postgresql@12 first in your PATH, run:
echo 'export PATH="/usr/local/opt/postgresql@12/bin:$PATH"' >> ~/.zshrc
For compilers to find postgresql@12 you may need to set:
export LDFLAGS="-L/usr/local/opt/postgresql@12/lib"
export CPPFLAGS="-I/usr/local/opt/postgresql@12/include"
For pkg-config to find postgresql@12 you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/postgresql@12/lib/pkgconfig"
To have launchd start postgresql@12 now and restart at login:
brew services start postgresql@12
Or, if you don't want/need a background service you can just run:
pg_ctl -D /usr/local/var/postgresql@12 start
==> Summary
🍺 /usr/local/Cellar/postgresql@12/12.6_1: 3,225 files, 41.7MB
==> Caveats
==> krb5
krb5 is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have krb5 first in your PATH, run:
echo 'export PATH="/usr/local/opt/krb5/bin:$PATH"' >> ~/.zshrc
echo 'export PATH="/usr/local/opt/krb5/sbin:$PATH"' >> ~/.zshrc
For compilers to find krb5 you may need to set:
export LDFLAGS="-L/usr/local/opt/krb5/lib"
export CPPFLAGS="-I/usr/local/opt/krb5/include"
For pkg-config to find krb5 you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/krb5/lib/pkgconfig"
==> postgresql@12
This formula has created a default database cluster with:
initdb --locale=C -E UTF-8 /usr/local/var/postgresql@12
For more details, read:
https://www.postgresql.org/docs/12/app-initdb.html
postgresql@12 is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.
If you need to have postgresql@12 first in your PATH, run:
echo 'export PATH="/usr/local/opt/postgresql@12/bin:$PATH"' >> ~/.zshrc
For compilers to find postgresql@12 you may need to set:
export LDFLAGS="-L/usr/local/opt/postgresql@12/lib"
export CPPFLAGS="-I/usr/local/opt/postgresql@12/include"
For pkg-config to find postgresql@12 you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/postgresql@12/lib/pkgconfig"
To have launchd start postgresql@12 now and restart at login:
brew services start postgresql@12
Or, if you don't want/need a background service you can just run:
pg_ctl -D /usr/local/var/postgresql@12 start
brew install postgresql
最新推荐文章于 2024-07-10 10:49:11 发布