我已经使用these指示从源代码构建了开源pgRouting库。它安装在我的(macOS)库上的本地地址,例如/Users/.../pgrouting
。如何将该源代码导入到我的PostgreSQL数据库中?
我尝试了psql [db] -c 'CREATE EXTENSION pgRouting'
,但遇到以下错误:
ERROR: could not open extension control file "/Applications/Postgres.app/Contents/Versions/11/share/postgresql/extension/pgrouting.control": No such file or directory