Skip to content

PHP extension on top of librdkafka - Undefined symbol: snappy_compress_iov #50

@salebab

Description

@salebab

Hello, I'm trying to build a PHP extension on top of this librdkafka C library. Unfortunately, after linking, compiling and installing I'm getting this error:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/2010052
5+lfs/kafka.so' - /usr/lib/php5/20100525+lfs/kafka.so: undefined symbol: snappy_
compress_iov
in Unknown on line 0

Because I'm not so good with C, maybe someone can help me to figure out what is happening. Here is my repo: https://github.com/salebab/phpkafka and here is compile log http://pastebin.com/FZnzz7JU

Thanks!

Metadata

Metadata

Assignees

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