[Bug 665287] New: intl Extension unavail
https://bugzilla.novell.com/show_bug.cgi?id=665287 https://bugzilla.novell.com/show_bug.cgi?id=665287#c0 Summary: intl Extension unavail Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: All OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Apache AssignedTo: bnc-team-apache@forge.provo.novell.com ReportedBy: jo@feuersee.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (compatible; Konqueror/4.5; Linux 2.6.34.7-0.5-default; X11; x86_64) KHTML/4.5.5 (like Gecko) SUSE Using current build from OSB php5-5.3.5-51.1 activating the intl extension fails. The error message indicates an unresolved C reference grapheme_extract_count_iter The extension fails to register and it's functions/classes/methods ar not avail. Reproducible: Always Steps to Reproduce: php -v Actual Results: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php5/extensions/intl.so' - /usr/lib64/php5/extensions/intl.so: undefined symbol: grapheme_extract_count_iter in Unknown on line 0 PHP 5.3.5 (cli) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH Expected Results: PHP 5.3.5 (cli) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=665287
https://bugzilla.novell.com/show_bug.cgi?id=665287#c1
Robert Kaiser
https://bugzilla.novell.com/show_bug.cgi?id=665287
https://bugzilla.novell.com/show_bug.cgi?id=665287#c2
--- Comment #2 from Villu Roogna
https://bugzilla.novell.com/show_bug.cgi?id=665287
https://bugzilla.novell.com/show_bug.cgi?id=665287#c3
Villu Roogna
Found the problem. intl extension does not seem compile correctly with gcc4 (inline function declared but not defined errors). Once I compiled it with gcc 3.3 it started working.
So quick workaround currently:
download php source cd to ext/intl
phpize configure make
compiled extension is in modules directory
forgot to specify that compiler env variable must be set to gcc-3.3 before configure. So the correct line for configure is: CC=gcc-3.3 ./configure -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com