Created at: 2024-11-14
If you installed postgres from source, you'll have a folder called "contrib".
This is where the pgcrypto
extension lives.
cd contrib/pgcrypto
make && make install
Make sure you are linking homebrew (follow my note for installing postgres from
source), and if you have error about missing symbols, add the following at the
end of the gcc
command that is printed for make
(at the top of the stdout):
gcc -Wall ... -lz -lssl -lcrypto
And then:
make install