Bug #77996 [NEW]: Build fails with --enable-intl
| From: | daniel at imhimmel dot net | Date: | Thu, 09 May 2019 09:47:50 +0000 |
| Subject: | Bug #77996 [NEW]: Build fails with --enable-intl | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-220791@lists.php.net to get a copy of this message | ||
From: daniel at imhimmel dot net
Operating system: macOS Mojave (10.14.4)
PHP version: 7.3.5
Package: *Compile Issues
Bug Type: Bug
Bug description:Build fails with --enable-intl
Description:
------------
Linking libphp7.so fails with the following error:
Undefined symbols for architecture x86_64:
"thread-local wrapper routine for _tsrm_ls_cache", referenced from:
_zim_IntlDateFormatter___construct in dateformat_create.o
_timezone_convert_to_datetimezone in timezone_class.o
_zif_intlcal_from_date_time in calendar_methods.o
_zif_intlcal_to_date_time in calendar_methods.o
_php_intlgregcal_constructor_body(_zend_execute_data*,
_zval_struct*, unsigned char) in gregoriancalendar_methods.o
As a workaround one may build php without intl extension
(--disable-intl) and build intl as a separate extension, although I'm
not sure if it might fail on some condition.
For now my tests using datefmt_create and IntlDateFormatter did work
just fine.
--
Edit bug report at https://bugs.php.net/bug.php?id=77996&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77996&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77996&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77996&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=77996&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=77996&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=77996&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=77996&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=77996&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=77996&r=support
Expected behavior: https://bugs.php.net/fix.php?id=77996&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=77996&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=77996&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=77996&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77996&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=77996&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=77996&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=77996&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=77996&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=77996&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=77996&r=mysqlcfg