-
After I compiled and installed the latest version of rdkafka on CentOS 7, there were some warnings
My approach is to remove ‘/usr/local/lib/librdkafka++.so’ and ‘librdkafka.so’, and then let the compiler choose to use 'librdkafka++.a' and 'librdkafka.a' |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The static library still uses some dynamically system libraries, such as pthreads. |
Beta Was this translation helpful? Give feedback.
The static library still uses some dynamically system libraries, such as pthreads.
Recommend that you use
pkg-config --libs --static rdkafka
orpkg-config --libs --static rdkafka-static
to get the extra libraries you need to link.