EnterpriseDB / mongo_fdw

PostgreSQL foreign data wrapper for MongoDB
GNU Lesser General Public License v3.0
330 stars 70 forks source link

openssl/bio.h #65

Closed rotten closed 2 years ago

rotten commented 8 years ago

When running autogen.sh --with-master on a Mac with Brew based gcc, openssl, and similar supporting libraries, we throw the following error:

./src/mongoc/mongoc-ssl-private.h:25:10: fatal error: 'openssl/bio.h' file not found

The solution is to set this environment variable before running autogen.sh: $ export CPPFLAGS="-I/usr/local/opt/openssl/include"

andreasscherbaum commented 5 years ago

Is this still the case?

vaibhavdalvi93 commented 2 years ago

@rotten , Are you still facing this issue? Can you please close this ticket if issue has been resolved?

rotten commented 2 years ago

I am no longer using either MongoDB or a Mac, so I cannot test this. Since no one else has chimed in, either my workaround above solved it for them, or the problem has gone away with the newer macs and/or newer openssl versions. We can close this as far as I'm concerned.

jeevanchalke commented 2 years ago

Closing per @rotten comment.