Hello everyone. I'm coming here from issues on GH asking before filling the issue.
I'm having troubles running even the simplest demo of RdKafka. I'm running the macOS 10.12.1 (Sierra). My PHP is installed via homebrew. I tried both 5.6 and 7.0.
When I install/enable the rdkafka extension (via homebrew or manually compile, tried both) and then run
$rk = new RdKafka\Producer(); I get
segmentation fault. I tried both Apache & cli mode for the code.
phpinfo() everything looks OK. I tried homebrew's v0.9.1 and manually installed 1.0.0. v2.0.0 won't compile.
Any ideas? Is there a way get more info from that segfault?
make install. All good, extesnsion enabled successfully (checked in phpinfo). But still segfault on
$rk = new RdKafka\Producer().
php -n -d extension="/usr/local/Cellar/php70/7.0.13_6/lib/php/extensions/no-debug-non-zts-20151012/rdkafka.so" cli-producer.php