Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Issue on Centos 7 #135

Open
werebear73 opened this issue Jun 5, 2020 · 3 comments
Open

Installation Issue on Centos 7 #135

werebear73 opened this issue Jun 5, 2020 · 3 comments

Comments

@werebear73
Copy link

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

@vaibhavdalvi93
Copy link

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

@werebear73
Copy link
Author

I have moved on to a different project, but I will try that when I get some extra time.

@vaibhavdalvi93
Copy link

Hi @werebear73 ,

Hope you're doing well.

Could you please check if you're still facing this issue? If not, please close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants