brew install libpq

From wikieduonline
Jump to navigation Jump to search

brew install libpq
.../...
libpq is keg-only, which means it was not symlinked into /opt/homebrew,
because conflicts with postgres formula.


libpq is keg-only, which means it was not symlinked into /Users/user/brew,
because it conflicts with PostgreSQL.

If you need to have libpq first in your PATH, run:
  fish_add_path ~/brew/opt/libpq/bin

For compilers to find libpq you may need to set:
  set -gx LDFLAGS "-L/Users/user/brew/opt/libpq/lib"
  set -gx CPPFLAGS "-I/Users/user/brew/opt/libpq/include" 

For pkgconf to find libpq you may need to set:
  set -gx PKG_CONFIG_PATH "/Users/user/brew/opt/libpq/lib/pkgconfig"

Related[edit]

which pg_dump
/opt/homebrew/opt/libpq/bin/pg_dump

See also[edit]

Advertising: