Replies: 1 comment
-
@edenhill Please, you must be the guru who knows how to include librdkafka into a simple static C language program? The point is to be able to copy the executable directly on top of the SCRATCH image,. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does anyone have a ready made list of the librdfkafka dependencies and how to link those for static executable?
These are requirements for the compilation of the librdkafka:
But are all of those required for gcc -static also? If so, then how to link them all with ld?
So far:
-lrdkafka -llz4 -lcrypto -lssl -lz -lsasl2 -lsqlite3 -lzstd -lm -lldap -llber -lgnutls -ltasn1 -lnettle -lgmp
and still not enough..
Beta Was this translation helpful? Give feedback.
All reactions