Closed seongpyoHong closed 4 years ago
I met the problem also.
@seongpyoHong Have you fixed the problem?
I didn't solve this problem. And when I try to use the cppkafka in docker container with linux, It works well. I think this problem caused by Mac OS policy. @lxy5513
thank you
I used cmake -DCPPKAFKA_BUILD_SHARED=0 ..
can fix the error temporarily.
or after cmake ..
, then find link.txt, delete -lrt
Pull request #227 helped in my case but I still got ld: library not found for -lssl
.
This helped:
$ brew install openssl
$ export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/
macOS Mojave v10.14.2
I already install librdkafka, boost library in mac. and
mkdir build
,cd build
,cmake ..
are done. The below one is whencmake ..
is typed.After that, I try to type
make
command. But error is occured. The below one is whenmake
is typed.I've tried to fix it and found the answer that removing
lrt
in CMakeLists.txt. But, in mine, thelrt
doesn't exist.How to resolve the link error?