Closed bazaah closed 1 year ago
Opened https://github.com/confluentinc/librdkafka/issues/4155 against the upstream to clarify whether this is distro specific or an issue for them.
Also raised with Archlinux: https://bugs.archlinux.org/task/77257?project=5&string=librdkafka
In Arch linux the pkg-config name of curl is libcurl
, so just need to patch pkg-config file in /usr/lib/pkgconfig/rdkafka.pc
Description: The Apache Kafka C/C++ library
Version: 2.0.2
Requires: libcurl zlib libssl libsasl2 libzstd liblz4
Cflags: -I${includedir}
Libs: -L${libdir} -lrdkafka
Libs.private: -lpthread -lrt -ldl -lm
I am well aware of the issue, however I will not be editing system files of unrelated packages. Either the upstream, or the Archlinux package's maintainer need to fix this on their end.
Need to rebuild for new boost release, but it appears there is a cmake build error:
This error message is wrong.
It is caused by the call to
pkg-config
in pkg_search_module.Running the equivalent command from the shell results in the following error message:
Which leads us to our real error, revealed in the following diff between v1.9 and v2.0:
curl
is not a valid pkg-config module, at least on Archlinux,libcurl
is.This change was introduced in https://github.com/confluentinc/librdkafka/pull/4045
Now I need to figure out who is responsible: