|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59615 Can not compile extencion
Submitted: 2011-02-09 16:41 UTC Modified: 2011-10-26 02:11 UTC
From: nbari at dalmp dot com Assigned:
Status: Not a bug Package: amqp (PECL)
PHP Version: 5.3.5 OS: FreeBSD 8.1 amd64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: nbari at dalmp dot com
New email:
PHP Version: OS:


 [2011-02-09 16:41 UTC] nbari at dalmp dot com
cat not compiling using pecl install or by source

'amqp_rpc_reply_t' has no member named 'library_error'

pecl install channel://

/go-pear/amqp/amqp.c:255: error: 'amqp_rpc_reply_t' has no member named 'library_error'
*** Error code 1

Reproduce code:
1. cd /usr/ports/net/rabbitmq-c-devel
2. sudo make install clean
3. wget
4. tar -xzvf ampq-0.2.2.tgz
5. cd ampq-0.2.2
6. phpize && ./configure --with-amqp && make && sudo make install

Expected result:
successfully compiled 

Actual result:
/go-pear/amqp/amqp.c:255: error: 'amqp_rpc_reply_t' has no member named 'library_error'
*** Error code 1


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-06-14 14:46 UTC]
Do you have rabbitmq-c installed
 [2011-07-06 00:04 UTC] vadim at bionicman dot ru
Hello. I have similar trouble:

# pecl install -f amqp
/go-pear/amqp/amqp.c: In function 'amqp_error':
/go-pear/amqp/amqp.c:255: error: 'amqp_rpc_reply_t' has no member named 'library_error'
*** Error code 1

Stop in /go-pear/pear-build-rootXEY6RJ/amqp-0.3.0.   
ERROR: `make' failed

RabbitMQ C librares is installed from ports:
# pkg_info -L rabbitmq-c-devel-0.0.1_1
Information for rabbitmq-c-devel-0.0.1_1:

 [2011-10-26 02:11 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at

You are using incompatible versions of php-amqp and librabbitmq-c. Please use php-amqp v0.3 and the following librabbitmq-c branch: along with the appropriate codegen for your version:
 [2011-10-26 02:11 UTC]
-Status: Open +Status: Bogus
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Dec 02 22:01:23 2020 UTC