Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

APACHE-KAFKA.linux-x86_64.so: undefined symbol: bro_version_2_6_558_plugin_7

Highlighted

APACHE-KAFKA.linux-x86_64.so: undefined symbol: bro_version_2_6_558_plugin_7

New Contributor

I'm compiling metron kafka bro plugin by following instructions here: https://github.com/apache/metron-bro-plugin-kafka


Everything works and I'm able to build the plugin successfully. However, when I run the test, I get the error as below:


$ bro -N Apache::Kafka
fatal error in /opt/bro/share/bro/base/init-bare.bro, line 1: cannot load plugin library /opt/bro/lib/bro/plugins/APACHE_KAFKA//lib/APACHE-KAFKA.linux-x86_64.so: /opt/bro/lib/bro/plugins/APACHE_KAFKA//lib/APACHE-KAFKA.linux-x86_64.so: undefined symbol: bro_version_2_6_558_plugin_7

Output from bro diag:



[BroControl] > diag
[bro]

No core file found.

Bro 2.6.1
Linux 3.10.0-957.21.3.el7.x86_64

Bro plugins: (none found)

==== No reporter.log

==== stderr.log
fatal error in /opt/bro/share/bro/base/init-bare.bro, line 1: cannot load plugin library /opt/bro/lib/bro/plugins/APACHE_KAFKA//lib/APACHE-KAFKA.linux-x86_64.so: /opt/bro/lib/bro/plugins/APACHE_KAFKA//lib/APACHE-KAFKA.linux-x86_64.so: undefined symbol: bro_version_2_6_558_plugin_7

==== stdout.log
max memory size (kbytes, -m) unlimited
data seg size (kbytes, -d) unlimited
virtual memory (kbytes, -v) unlimited
core file size (blocks, -c) unlimited

==== .cmdline
-i em1 -U .status -p broctl -p broctl-live -p standalone -p local -p bro local.bro broctl broctl/standalone broctl/auto

==== .env_vars
PATH=/opt/bro/bin:/opt/bro/share/broctl/scripts:/usr/local/openssl/bin:/opt/apache-maven-3.3.9/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/bro/bin
BROPATH=/opt/bro/spool/installed-scripts-do-not-touch/site::/opt/bro/spool/installed-scripts-do-not-touch/auto:/opt/bro/share/bro:/opt/bro/share/bro/policy:/opt/bro/share/bro/site
CLUSTER_NODE=

==== .status
TERMINATED [atexit]

==== No prof.log

==== No packet_filter.log

==== No loaded_scripts.log