From cf7e97dd270f25b4b532d0550d05eaf5bdd6cd45 Mon Sep 17 00:00:00 2001 From: Adonis Ling Date: Tue, 28 Feb 2023 21:37:27 +0800 Subject: [PATCH] [chore](thirdparty) Fix the linkage errors for librdkafka (#17181) Fix the linkage errors for librdkafka --- thirdparty/build-thirdparty.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thirdparty/build-thirdparty.sh b/thirdparty/build-thirdparty.sh index 5b775b8b56..31a308474e 100755 --- a/thirdparty/build-thirdparty.sh +++ b/thirdparty/build-thirdparty.sh @@ -858,7 +858,8 @@ build_librdkafka() { # PKG_CONFIG="pkg-config --static" CPPFLAGS="-I${TP_INCLUDE_DIR}" \ - LDFLAGS="-L${TP_LIB_DIR} -lssl -lcrypto -lzstd -lz -lsasl2" \ + LDFLAGS="-L${TP_LIB_DIR} -lssl -lcrypto -lzstd -lz -lsasl2 \ + -lgssapi_krb5 -lkrb5 -lkrb5support -lk5crypto -lcom_err -lresolv" \ ./configure --prefix="${TP_INSTALL_DIR}" --enable-static --enable-sasl --disable-c11threads make -j "${PARALLEL}"