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

library not found for -lssl #5

Open
jjjjjeffrey opened this issue Jul 4, 2016 · 2 comments
Open

library not found for -lssl #5

jjjjjeffrey opened this issue Jul 4, 2016 · 2 comments

Comments

@jjjjjeffrey
Copy link

1111

2222

@kjessup
Copy link
Member

kjessup commented Jul 4, 2016

I had this same issue. It was related to the Home Brew OpenSSL library being updated but the Mongo libraries not being updated to accommodate. Sadly, the Mongo .pc files include paths which have the OpenSSL version number in them, making them fragile when they get updated.

I needed to update the following file:

/usr/local/lib/pkgconfig/libmongoc-1.0.pc

and change the 'Libs' path such that it references the proper OpenSSL path:

-L/usr/local/Cellar/openssl/1.0.2h_1/lib

If I remember correctly, the old path had 1.0.2g in it.

@jjjjjeffrey
Copy link
Author

Sadly, when we install openssl use brew command, the old version of openssl was not provided. You know why? @kjessup

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