Skip to content

I want to use rdkafka's static library,but i have some problems #3744

Answered by edenhill
Z-J-X asked this question in Q&A
Discussion options

You must be logged in to vote

The static library still uses some dynamically system libraries, such as pthreads.
Recommend that you use pkg-config --libs --static rdkafka or pkg-config --libs --static rdkafka-static to get the extra libraries you need to link.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Z-J-X
Comment options

Answer selected by Z-J-X
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants