mongo_fdw
mongo_fdw copied to clipboard
Installation Issue on Centos 7
I'm trying to install on Centos 7 and Postgresql 12. I successfully get the autogen step to work but make step fails. Not sure if I am doing something wrong.
$ sudo make
Package libmongoc-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libmongoc-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libmongoc-1.0' found
Makefile:47: *** PostgreSQL 9.5, 9.6, 10, 11, 12, or 13 is required to compile this extension. Stop.
I tried adding the /usr/local/lib/pkgconfig to the PKG_CONFIG_PATH environment variable and still get the same error. And the same when I add, /usr/local/src/mongodb-fdw/mongo_fdw/mongo-c-driver/src/ to the environment variable.
Thank you
Can you try exporting below path in mongo_fdw directory before running make :
export PKG_CONFIG_PATH=mongo-c-driver/src/:mongo-c-driver/src/libbson/src
I have moved on to a different project, but I will try that when I get some extra time.
Hi @werebear73 ,
Hope you're doing well.
Could you please check if you're still facing this issue? If not, please close this issue.