Bug 679715 - gv.so (php module) does not load: undefined symbol: zend_error_noreturn
Summary: gv.so (php module) does not load: undefined symbol: zend_error_noreturn
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: graphviz
Version: 6.1
Hardware: All
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Jaroslav Škarvada
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
: 681956 (view as bug list)
Depends On: 679713
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-23 10:21 UTC by Pierre Amadio
Modified: 2018-11-14 14:33 UTC (History)
3 users (show)

Fixed In Version: graphviz-2.26.0-5.el6
Doc Type: Bug Fix
Doc Text:
When using the graphviz utility with PHP, the gv.so module did not load and displayed the following error message: /usr/lib64/php/modules/gv.so' - /usr/lib64/php/modules/gv.so: undefined symbol: zend_error_noreturn in Unknown on line 0 This was caused by the SWIG tool which used the zend_error_noreturn() function to build the PHP module. SWIG has been modified and the bug no longer occurs.
Clone Of:
Environment:
Last Closed: 2011-07-20 12:27:18 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0965 0 normal SHIPPED_LIVE graphviz bug fix update 2011-07-20 12:27:09 UTC

Description Pierre Amadio 2011-02-23 10:21:38 UTC
This is the same as fedora bz#641639
With graphviz-2.26.0-4.el6, the php gv.so module does not load and generate the following warning:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/gv.so' - /usr/lib64/php/modules/gv.so: undefined symbol: zend_error_noreturn in Unknown on line 0

This seems due to the fact that the swig library used to build the php module is still using zend_error_noreturn function (see bz#679713)

Rebuilding the graphviz with a modified swig (with change zend_error_noreturn to zend_error available in bz#679713) fixed the problem.

Comment 1 RHEL Program Management 2011-02-23 10:38:00 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 2 Jaroslav Škarvada 2011-04-17 22:05:33 UTC
*** Bug 681956 has been marked as a duplicate of this bug. ***

Comment 3 Eliska Slobodova 2011-07-14 14:54:02 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
When using the graphviz utility with PHP, the gv.so module did not load and displayed the following error message:

    /usr/lib64/php/modules/gv.so' - /usr/lib64/php/modules/gv.so: undefined symbol: zend_error_noreturn in Unknown on line 0 

This was caused by the SWIG tool which used the zend_error_noreturn() function to build the PHP module. SWIG has been modified and the bug no longer occurs.

Comment 5 errata-xmlrpc 2011-07-20 12:27:18 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0965.html


Note You need to log in before you can comment on or make changes to this bug.