'Cannot install librdkafka on Mac Monterey
I'm trying to install librdkafka on Mac Monterey:
https://github.com/edenhill/librdkafka
It says:
brew install librdkafka
However, I'm getting compiler errors indicating it's missing. Upon taking a look i was expecting it to install in /usr/local/lib but it's not there.
When I do:
find . -name "*kafka*"
I'm still not finding it (or at least nothing which looks like it).
If I try running brew again I get:
Warning: librdkafka 1.8.2 is already installed and up-to-date.
To reinstall 1.8.2, run:
brew reinstall librdkafka
Solution 1:[1]
By default, Homebrew should be using /usr/local/Cellar
$ brew install librdkafka
Warning: librdkafka 1.8.2 is already installed and up-to-date.
To reinstall 1.8.2, run:
brew reinstall librdkafka
$ brew info librdkafka
librdkafka: stable 1.8.2 (bottled), HEAD
Apache Kafka C/C++ library
https://github.com/edenhill/librdkafka
/usr/local/Cellar/librdkafka/1.8.2 (36 files, 4.8MB) *
Poured from bottle on 2021-10-22 at 12:56:59
$ tree /usr/local/Cellar/librdkafka/1.8.2/lib/
/usr/local/Cellar/librdkafka/1.8.2/lib/
??? librdkafka++.1.dylib
??? librdkafka++.a
??? librdkafka++.dylib -> librdkafka++.1.dylib
??? librdkafka.1.dylib
??? librdkafka.a
??? librdkafka.dylib -> librdkafka.1.dylib
??? pkgconfig
??? rdkafka++-static.pc
??? rdkafka++.pc
??? rdkafka-static.pc
??? rdkafka.pc
1 directory, 10 files
I'm getting compiler errors indicating it's missing
I suspect these errors say something else is missingĀ
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | OneCricketeer |
