Reputation: 3464
I've next error:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/amqp.so' - /usr/lib/php5/20100525+lfs/amqp.so: undefined symbol: amqp_basic_qos in Unknown on line 0
I've installed rabbitmq-server, PHP amqp extension, here is my librabbitmq:
miraage@newpc2:~$ ls -la /usr/local/lib | grep rabbit lrwxrwxrwx 1 root root 25 марта 31 14:40 librabbitmq.so -> /usr/lib/librabbitmq.so.0 lrwxrwxrwx 1 root root 46 апр. 1 16:08 librabbitmq.so.1 -> /usr/local/lib/i386-linux-gnu/librabbitmq.so.1
What I do wrong?
// upd
Ubuntu 13.04 PHP 5.4.9
I've installed librabbitmq via
sudo apt-get install librabbitmq0
Upvotes: 2
Views: 3501
Reputation: 1666
I resolved this problem . it is looking for librabbit.so
and librabbit.so.1
in /usr/lib
directory instead of /usr/local/lib
directory. I copied libraabit.so and librabbit.so.1
in /usr/lib
directory , restart apache and its working now.
Upvotes: 2
Reputation: 3464
The most likely problem was in incorrect system, someone broke my Ubuntu on job. I even was not able to upgrade from 13.04 to 13.10 - and after clear installation php-amqp was installed perfectly from PECL.
Thanks you all for help.
Upvotes: 0