php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76750 Missing symbols in Intl library when built as intl.so [PHP_ADD_SOURCES RELATED]
Submitted: 2018-08-16 05:06 UTC Modified: 2018-09-04 22:07 UTC
From: ejrx7753 at gmail dot com Assigned:
Status: Closed Package: intl (PECL)
PHP Version: 7.2Git-2018-08-16 (Git) OS: Fedora 27
Private report: No CVE-ID: None
 [2018-08-16 05:06 UTC] ejrx7753 at gmail dot com
Description:
------------
I'm getting "undefined symbol: zif_datefmt_create" and many other missing symbol errors when building and loading intl.so.

Additionally, when check the output of "make", none of the .cpp files are mentioned.

Steps:


1) Checked out PHP-7.2 from GIT
2) Compiled PHP
3) cd ext/intl
4) ran phpize from prefix
5) ./configure  --with-php-config=/var/prefix/bin/php-config --enable-intl
6) make; make install;
7) /var/prefix/bin/php -d extension=/var/prefix/lib/php/extensions/no-debug-non-zts-20170718/intl.so /tmp/1.php




Expected result:
----------------
PHP should load the extension

Actual result:
--------------
"undefined symbol: zif_datefmt_create"


Additional Missing Symbols:

zif_ datefmt_create 
zif_ datefmt_get_calendar 
zif_ datefmt_get_calendar_object 
zif_ datefmt_set_calendar
zif_datefmt_get_timezone_id
zif_datefmt_get_timezone
zif_datefmt_set_timezone
zif_datefmt_format_object
zif_intltz_create_time_zone
zif_intltz_from_date_time_zone
zif_intltz_from_date_time_zone
zif_intltz_create_default
zif_intltz_get_id
zif_intltz_get_gmt
zif_intltz_get_unknown
zif_intltz_create_enumeration
zif_intltz_count_equivalent_ids
zif_intltz_create_time_zone_id_enumeration
zif_intltz_get_canonical_id
zif_intltz_get_region
zif_intltz_get_tz_data_version
zif_intltz_get_equivalent_id
zif_intltz_use_daylight_time
zif_intltz_get_offset
zif_intltz_get_raw_offset
zif_intltz_has_same_rules
zif_intltz_get_display_name
zif_intltz_get_dst_savings
zif_intltz_to_date_time_zone
zif_intltz_get_error_code
zif_intltz_get_error_message
zif_intlcal_create_instance
zif_intlcal_get_keyword_values_for_locale
zif_intlcal_get_now
zif_intlcal_get_available_locales
zif_intlcal_get
zif_intlcal_get_time
zif_intlcal_set_time
zif_intlcal_add
zif_intlcal_after
zif_intlcal_before
zif_intlcal_clear
zif_intlcal_equals
zif_intlcal_field_difference
zif_intlcal_from_date_time
zif_intlcal_get_actual_maximum
zif_intlcal_get_actual_minimum
zif_intlcal_get_day_of_week_type
zif_intlcal_get_error_code
zif_intlcal_get_error_message
zif_intlcal_get_first_day_of_week
zif_intlcal_get_greatest_minimum
zif_intlcal_get_least_maximum
zif_intlcal_get_locale
zif_intlcal_get_maximum
zif_intlcal_get_minimal_days_in_first_week
zif_intlcal_get_minimum
zif_intlcal_get_repeated_wall_time_option
zif_intlcal_get_skipped_wall_time_option
zif_intlcal_get_time_zone
zif_intlcal_get_type
zif_intlcal_get_weekend_transition
zif_intlcal_in_daylight_time
zif_intlcal_is_equivalent_to
zif_intlcal_is_lenient
zif_intlcal_is_set
zif_intlcal_is_weekend
zif_intlcal_roll
zif_intlcal_set
zif_intlcal_set_first_day_of_week
zif_intlcal_set_lenient
zif_intlcal_set_minimal_days_in_first_week
zif_intlcal_set_repeated_wall_time_option
zif_intlcal_set_skipped_wall_time_option
zif_intlcal_set_time_zone
zif_intlcal_to_date_time
zif_intlgregcal_create_instance
zif_intlgregcal_get_gregorian_change
zif_intlgregcal_is_leap_year
zif_intlgregcal_set_gregorian_change
zim_IntlDateFormatter
timezone_register_IntlTimeZone_class
calendar_register_IntlCalendar_class
intl_register_IntlIterator_class
breakiterator_register_BreakIterator_class
breakiterator_register_IntlPartsIterator_class

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-09-04 22:07 UTC] ejrx7753 at gmail dot com
-Summary: Missing symbols in Intl library when built as intl.so +Summary: Missing symbols in Intl library when built as intl.so [PHP_ADD_SOURCES RELATED] -Status: Open +Status: Closed
 [2018-09-04 22:07 UTC] ejrx7753 at gmail dot com
Sorry, my git commit was out of date. No longer needed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC