php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61593 Unable to load dynamic library
Submitted: 2012-04-01 19:04 UTC Modified: 2021-06-10 15:34 UTC
Votes:9
Avg. Score:4.7 ± 0.7
Reproduced:7 of 7 (100.0%)
Same Version:3 (42.9%)
Same OS:5 (71.4%)
From: euskadi31 at gmail dot com Assigned: cmb (profile)
Status: Closed Package: amqp (PECL)
PHP Version: 5.3.10 OS: Mac OSX 10.6.8
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: euskadi31 at gmail dot com
New email:
PHP Version: OS:

 

 [2012-04-01 19:04 UTC] euskadi31 at gmail dot com
Description:
------------
PHP Warning:  PHP Startup: Unable to load dynamic library, Symbol not found: _amqp_empty_bytes

Test script:
---------------
php -v



Expected result:
----------------
[21:01:10| euskadi31 :~ > php -v
PHP 5.3.10 (cli) (built: Feb 28 2012 17:59:24) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
    with Xdebug v2.1.2, Copyright (c) 2002-2011, by Derick Rethans


Actual result:
--------------
[21:01:10| euskadi31 :~ > php -v
PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/local/lib/php/extensions/no-debug-non-zts-20090626/amqp.so' - dlopen(/opt/local/lib/php/extensions/no-debug-non-zts-20090626/amqp.so, 9): Symbol not found: _amqp_empty_bytes
  Referenced from: /opt/local/lib/php/extensions/no-debug-non-zts-20090626/amqp.so
  Expected in: flat namespace
 in /opt/local/lib/php/extensions/no-debug-non-zts-20090626/amqp.so in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/local/lib/php/extensions/no-debug-non-zts-20090626/amqp.so' - dlopen(/opt/local/lib/php/extensions/no-debug-non-zts-20090626/amqp.so, 9): Symbol not found: _amqp_empty_bytes
  Referenced from: /opt/local/lib/php/extensions/no-debug-non-zts-20090626/amqp.so
  Expected in: flat namespace
 in /opt/local/lib/php/extensions/no-debug-non-zts-20090626/amqp.so in Unknown on line 0
PHP 5.3.10 (cli) (built: Feb 28 2012 17:59:24) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
    with Xdebug v2.1.2, Copyright (c) 2002-2011, by Derick Rethans


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-06-10 15:34 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-06-10 15:34 UTC] cmb@php.net
The amqp bug tracker is now on Github[1].  If this is still an
issue, please report there.

[1] <https://github.com/php-amqp/php-amqp/issues>
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 14:01:37 2025 UTC