I installed postgres with EDB installer. I wanted to use pgrouting in my database. So I downloaded it through homebrew brew install pgrouting
Next, I wanted to initalize it in my database: psql mydatabase -c "create extension pgrouting;"
But I got this error ERROR: could not open extension control file "/Library/PostgreSQL/9.6/share/postgresql/extension/pgrouting.control": No such file or directory
I found pgrouting.control
in /usr/local/Cellar/pgrouting/2.4.1/share/postgresql/extension/pgrouting.control
Should I just copy those files from /usr... to /Library/Postgres... ??