Skip to content

Building from source leads to undefined symbols #438

@mmgutsche

Description

@mmgutsche

Description

On Fedora 27 I try to get confluent-kafka-python running by building librdkafka from source as well as confluent-kafka-python. I chose the installation from source to get libsasl2 working. Building and installing seems to work well, but on import confluent_kafka I receive

/home/mgutsche/anaconda3/envs/vavel_env/lib/python3.6/site-packages/confluent_kafka/cimpl.cpython-36m-x86_64-linux-gnu.so: undefined symbol: rd_kafka_topic_result_name
Using the latest master from both repositories, e.g. 0.11.5

How to reproduce

git clone https://github.com/edenhill/librdkafka.git # install librdkafka
./configure # checking for libsasl2 (by pkg-config)... ok
make
sudo make install
git clone https://github.com/confluentinc/confluent-kafka-python.git # install confluent-kafka-python
python setup.py install
python -c "import confluent_kafka"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions