Description of problem: While installing php-pear-CAS, the following error was generated: 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 Version-Release number of selected component (if applicable): graphviz-2.26.0-4.fc14 How reproducible: every time Steps to Reproduce: 1. install graphviz (and thus graphviz-php) 2. install php-pear-CAS (I did this with an earlier version or from the DVD) 3. update php-pear-CAS Actual results: Error in POSTIN scriptlet in rpm package php-pear-CAS-1.1.3-1.fc14.noarch 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 (process:9630): GLib-GObject-CRITICAL **: gtype.c:2710: You forgot to call g_type_init() (process:9630): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed (process:9630): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed error: %post(php-pear-CAS-1.1.3-1.fc14.noarch) scriptlet failed, signal 2 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ PPID COMMAND 9630 root 20 0 736m 31m 23m R 93.0 1.6 1:13.51 9627 php 30234 root 20 0 15296 1300 836 R 2.5 0.1 3:21.17 5631 top PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ PPID COMMAND 9630 root 20 0 736m 31m 23m R 91.8 1.6 2:25.79 9627 php 30234 root 20 0 15296 1300 836 R 2.5 0.1 3:22.84 5631 Expected results: Installation without error Additional info: Several of the php-pear packages seem to have this problem, and when they fail they use lots of cpu (see above).
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.