Bug 641639
Summary: | Missing variable in gv.so causes php-pear problems while installing | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | stan <gryt2> |
Component: | graphviz | Assignee: | Jaroslav Škarvada <jskarvad> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 14 | CC: | cardy165, evoke, fedora, jima, jskarvad, pamadio, plynn54, renich, tremble |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-12-09 12:05:33 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
stan
2010-10-09 20:33:10 UTC
I think there is no link with any other package. 1. yum install graphviz-php 2. php -v Result : 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 I have look at your spec and the build system, but don't find any reason for this error... :( A good practice will be to add a simple load test of the created module in the %spec RPM (to detect this at RPM build time) Something like %{_bindir}/php \ --no-php-ini \ --define extension_dir=%{buildroot}%{php_extdir} --define extension=gv.so --modules | grep gv Same problem exist on RHEL6 Problem seems to be within swig: http://stackoverflow.com/questions/2556113/swig-generated-code-fails-to-run-on-php-5-3-2-undefined-symbol-zend-error-noretu If i rebuild the swig package after changing all occurences of zend_error_noreturn to zend_error and then rebuild the graphiz package with this version of swig, the problem dissapear. I havent tested it on fedora though. (! 1013)-> php --version PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gv.so' - /usr/lib/php/modules/gv.so: undefined symbol: zend_error_noreturn in Unknown on line 0 PHP 5.3.5 (cli) (built: Jan 7 2011 18:29:01) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies Linux 2.6.35.11-83.fc14.i686.PAE #1 SMP Mon Feb 7 06:57:55 UTC 2011 i686 i686 i386 GNU/Linux Having this issue after upgrading to Fedora 14 from 12. I'm getting this bug in Fedora 15 all the time: 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 Fedora 14 is EOL and it seems fixed in Fedora 15 and up, thus closing this. Feel free to reopen if the problem persists. (In reply to comment #5) > Fedora 14 is EOL and it seems fixed in Fedora 15 and up, thus closing this. > Feel free to reopen if the problem persists. Heh, yeah; you're right ;) It was actually worked out. Thanks. |