Giter Club home page Giter Club logo

Comments (13)

ottobackwards avatar ottobackwards commented on August 29, 2024

We have only tested with libkafka 1.4.4, if you look at our github workflow for ci, can you try it with that and see if it works? If it does then the issue is needing 1.6 support I guess

from zeek-kafka.

frank-s-liu avatar frank-s-liu commented on August 29, 2024

same issue building with 1.4.x branch of libkafka.
I install librdkafka using follows configurations:
./configure --with-librdkafka=/usr/local/lib --zeek-dist=${zeek_src}

in readme file, it suggest only using ./configure ./configure --with-librdkafka=/usr/local/lib
I also test this scenario case, same issue.

from zeek-kafka.

frank-s-liu avatar frank-s-liu commented on August 29, 2024

follows is the confige summury:
./configure --with-librdkafka=/usr/local/lib
Build Directory : build
Zeek Source Directory :
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test cxx17_already_works
-- Performing Test cxx17_already_works - Failed
-- Performing Test cxx17_works
-- Performing Test cxx17_works - Success
-- Found BinPAC: /usr/local/zeek/bin/binpac
-- Found Broker: /usr/local/zeek/lib/libbroker.so
-- Zeek executable : /usr/local/zeek/bin/zeek
-- Zeek source :
-- Zeek build :
-- Zeek install prefix : /usr/local/zeek
-- Zeek plugin directory: /usr/local/zeek/lib/zeek/plugins
-- Zeek debug mode : true
-- Zeek unittest support: no
-- Found LibRDKafka: /usr/local/lib/librdkafka++.so
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1f")
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

CAF_ROOT_DIR

from zeek-kafka.

frank-s-liu avatar frank-s-liu commented on August 29, 2024

the root cause maybe is here
0x000000000000001d (RUNPATH) Library runpath: [/usr/local/lib]
it should be rpath while not runpath.

seems cmake enable this link-flag default
SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--enable-new-dtags")

from zeek-kafka.

frank-s-liu avatar frank-s-liu commented on August 29, 2024

We have only tested with libkafka 1.4.4, if you look at our github workflow for ci, can you try it with that and see if it works? If it does then the issue is needing 1.6 support I guess

Would you please help to check this issue?

from zeek-kafka.

ottobackwards avatar ottobackwards commented on August 29, 2024


just an FYI, we test with this setup ( UBUNTU 20.04 ) every time

from zeek-kafka.

ottobackwards avatar ottobackwards commented on August 29, 2024

RPATH and RUNPATH are both "things", RUNPATH is valid to have and recommended ( the default unless you explicitly set it)

from zeek-kafka.

ottobackwards avatar ottobackwards commented on August 29, 2024

What is the exact version of kafka you are using, where did you get it ( link )
What compiler and version are you using? are you using gcc or clang?

from zeek-kafka.

ottobackwards avatar ottobackwards commented on August 29, 2024

And what versions of those?

from zeek-kafka.

ottobackwards avatar ottobackwards commented on August 29, 2024

You can reference this docker file for how we build : https://github.com/SeisoLLC/zeek-kafka/blob/main/docker/containers/zeek/Dockerfile.ubuntu:20.04.
Can you try your version of kafka built the way we build it here?

from zeek-kafka.

frank-s-liu avatar frank-s-liu commented on August 29, 2024

What is the exact version of kafka you are using, where did you get it ( link )
What compiler and version are you using? are you using gcc or clang?

https://github.com/edenhill/librdkafka.git branch 1.4.x

from zeek-kafka.

frank-s-liu avatar frank-s-liu commented on August 29, 2024

What is the exact version of kafka you are using, where did you get it ( link )
What compiler and version are you using? are you using gcc or clang?

The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0

from zeek-kafka.

frank-s-liu avatar frank-s-liu commented on August 29, 2024

You can reference this docker file for how we build : https://github.com/SeisoLLC/zeek-kafka/blob/main/docker/containers/zeek/Dockerfile.ubuntu:20.04.
Can you try your version of kafka built the way we build it here?

yes I checked this docker file, when installing kafkaka, it also runs command ldconfig,

from zeek-kafka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.