cecile rougnaux <[email protected]> writes: > when I try to install postgresql with the command > brew install postgresql > I have this error: > Error: An exception occurred within a child process: > RuntimeError: /usr/local/opt/[email protected] not present or broken > Please reinstall [email protected]. Sorry :(
You probably need to ask about this in a Homebrew-specific forum, not here. However, I can comment that this proposed workaround: > For compilers to find [email protected] you may need to set: > export LDFLAGS="-L/usr/local/opt/[email protected]/lib" > export CPPFLAGS="-I/usr/local/opt/[email protected]/include" would need to be applied while *building* Postgres. If you've already built it, or are trying to install a prebuilt package, those flag settings won't do anything. regards, tom lane
