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

Cannot install node-rdkafka because you updated to Mojave? #78

Closed
krystianity opened this issue Oct 10, 2018 · 0 comments
Closed

Cannot install node-rdkafka because you updated to Mojave? #78

krystianity opened this issue Oct 10, 2018 · 0 comments
Labels

Comments

@krystianity
Copy link
Member

Here is the fix:

  1. xcode-select --install
  2. (make sure your have the xcode app installed, if not get it from the appstore)
  3. brew reinstall openssl (optional)
  4. LDFLAGS='-L/usr/local/opt/openssl/lib' CPPFLAGS='-I/usr/local/opt/openssl/include' yarn

OpenSSL might be installed but is not linked anymore when updating to mojave, this way yarn or npm wont be able to install (compile) node-rdkafka via node-gyp. By passing the flags you can solve this issue.

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

No branches or pull requests

1 participant