[Python-modules-team] Bug#757751: Bug#757751: missing symbol amqp_get_or_create_channel_pool

Dominique Belhachemi domibel at debian.org
Tue Sep 9 17:42:56 UTC 2014


Based on ( https://github.com/celery/librabbitmq#installation ) I should be
able to run a quick example:

>>> from librabbitmq import Connection

>>> conn = Connection(host="localhost", userid="guest",
...                   password="guest", virtual_host="/")

>>> channel = conn.channel()
>>> channel.exchange_declare(exchange, type, ...)
>>> channel.queue_declare(queue, ...)
>>> channel.queue_bind(queue, exchange, routing_key)


But it fails already in the first line:

$ ipython
In [2]: from librabbitmq import Connection
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-2-404f2bdb37ce> in <module>()
----> 1 from librabbitmq import Connection

/usr/lib/python2.7/dist-packages/librabbitmq/__init__.py in <module>()
      2 import socket
      3
----> 4 import _librabbitmq
      5
      6 from amqp.protocol import queue_declare_ok_t

ImportError: /usr/lib/python2.7/dist-packages/_librabbitmq.so: undefined
symbol: amqp_get_server_properties


-Dominique
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20140909/06a38272/attachment-0001.html>


More information about the Python-modules-team mailing list