Makefile:1498: recipe for target 'examples/amqp_bind' failed
make[1]: Leaving directory '/srv/rabbitmq-c'
Makefile:1216: recipe for target 'all' failed
librabbitmq/.libs/librabbitmq.so: undefined reference to `pthread_once'
collect2: error: ld returned 1 exit status
make[1]: *** [examples/amqp_bind] Error 1
make: *** [all] Error 2
ERROR: Service 'php' failed to build: The command '/bin/sh -c apt-get install -y automake libtool && git clone https://github.com/alanxz/rabbitmq-c && cd rabbitmq-c && autoreconf -i && ./configure && make && make install && cd .. && rm -rf rabbitmq-c && pecl install amqp && docker-php-ext-enable amqp' returned a non-zero code: 2
make[1]: Leaving directory '/srv/rabbitmq-c'
Makefile:1216: recipe for target 'all' failed
librabbitmq/.libs/librabbitmq.so: undefined reference to `pthread_once'
collect2: error: ld returned 1 exit status
make[1]: *** [examples/amqp_bind] Error 1
make: *** [all] Error 2
ERROR: Service 'php' failed to build: The command '/bin/sh -c apt-get install -y automake libtool && git clone https://github.com/alanxz/rabbitmq-c && cd rabbitmq-c && autoreconf -i && ./configure && make && make install && cd .. && rm -rf rabbitmq-c && pecl install amqp && docker-php-ext-enable amqp' returned a non-zero code: 2