question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mac build is broken

See original GitHub issue

After a58b736 the build on OSX is failing due to

clang: error: no such file or directory: '/<bla_bla>/change-propagation/node_modules/node-rdkafka/build/deps/librdkafka.dylib'
clang: error: no such file or directory: '/<bla_bla>/change-propagation/node_modules/node-rdkafka/build/deps/librdkafka++.dylib'

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:17

github_iconTop GitHub Comments

14reactions
wiessoncommented, Jun 19, 2018

Thanks to https://github.com/Blizzard/node-rdkafka/issues/405#issuecomment-398139737, I solved this on my mac.

I set BUILD_LIBRDKAFKA to 0, to prevent node-gyp build the dependencies. Then I used homebrew to install the kafka bindings brew install librdkafka

brew install librdkafka
BUILD_LIBRDKAFKA=0
yarn install
4reactions
qrpikecommented, Apr 24, 2018

My error was:

  "_X509_verify_cert_error_string", referenced from:
      _rd_kafka_transport_io_serve in rdkafka_transport.o
  "_d2i_PKCS12_fp", referenced from:
      _rd_kafka_transport_ssl_ctx_init in rdkafka_transport.o
  "_sk_pop_free", referenced from:
      _rd_kafka_transport_ssl_ctx_init in rdkafka_transport.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [librdkafka.1.dylib] Error 1
make[1]: *** [libs] Error 2
make: *** [_Users_qrpike_project_node_modules_node_rdkafka_deps_librdkafka_gyp_librdkafka_target_build_dependencies.intermediate] Error 2
rm _Users_qrpike_project_node_modules_node_rdkafka_deps_librdkafka_gyp_librdkafka_target_build_dependencies.intermediate
000: qrpike$ ld```
Read more comments on GitHub >

github_iconTop Results From Across the Web

Why new Macs break your Docker build, and how to fix it
New Macs can break your Docker image build in unexpected ways; learn why, and how to fix it.
Read more >
Mac Builds are broken · Issue #2055 · supermerill/SuperSlicer
What happened? The current builds are corrupted for OSX. shasum -a 256 SuperSlicer_2.3.57. · Project file & How to reproduce. Download latest ...
Read more >
Mac Build breaking when uploaded to storage - Unity Forum
Hello! I'm building a game for my class, and every time I upload the compressed version to a storage site (Google Drive, Canvas, ......
Read more >
TestFlight Build of Game not Worki… | Apple Developer Forums
This is an issue with TestFlight or the Xcode Archive process. I am trying to release a game for the Mac Store this...
Read more >
Fix broken 'node-gyp' issue for Mac OS | by Fernando De Freitas
This issue is usually caused because a node-gyp config file called common.gypi is not set up for your current Mac OS version. Just...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found