php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63753 cant start the library, undefined symbol
Submitted: 2012-12-12 15:47 UTC Modified: 2012-12-17 09:19 UTC
From: jpauli@php.net Assigned:
Status: Not a bug Package: amqp (PECL)
PHP Version: 5.3.19 OS: Linux
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:
Package:
Bug Type:
Summary:
From: jpauli@php.net
New email:
PHP Version: OS:

 

 [2012-12-12 15:47 UTC] jpauli@php.net
Description:
------------
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/extensions/no-debug-non-zts-20090626/amqp.so' - 
/usr/local/lib/php/extensions/no-debug-non-zts-20090626/amqp.so: undefined 
symbol: zend_new_interned_string in Unknown on line 0

With amqp 1.0.9
I just "pecl install amqp"

I'm running PHP5.3 , zend_new_interned_string is 5.4 , is there an #ifdef missing 
somewhere ?

Test script:
---------------
Any

Expected result:
----------------
PHP starts and the module is loaded

Actual result:
--------------
PHP starts but with a Warning at startup and the module is not loaded

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-12-13 21:59 UTC] bkw at codingforce dot com
Wow, this is weird, thanks for reporting!

I haven't seen this before, and I compiled the library on quite a number of 
systems now. We also test it on travis, with php-5.[234]:
https://travis-ci.org/pdezwart/php-amqp

Could this be something with your setup? Do you have multiple php versions 
installed? (Although that should usually not be a problem)

If this persists, may I ask you to open a bug here:
https://github.com/pdezwart/php-amqp/issues/new

We've moved development over to github, I'm only occasionally checking this 
bugtracker here.
 [2012-12-17 09:19 UTC] jpauli@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

This may be a corruption somewhere on my build setup. I experienced such a bug 
with amqp>=1.04 but I remember not bugging before.
Something wrong with my build, I'll check then report why.
 [2012-12-17 09:19 UTC] jpauli@php.net
-Status: Open +Status: Not a bug
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 14:01:31 2024 UTC