Fwd: PHP 7.3.0 installation fails with enable-intl

Anthony Rey <[email protected]> Mon, 7 Jan 2019 09:45:23 +1100
Newsgroups gmane.comp.php.install
Message-ID <CAJw+POAPf7Y41Cppt8fQRAYmzvb2Zwe4UUd1SKABNU5Ke0jxiQ@mail.gmail.com>
--000000000000cd065b057ed1def7
Content-Type: text/plain; charset="UTF-8"

Hi Team,

On MacOS Mojave, installing PHP 7.3.0 from source fails at *$ make* when
configuring with *--enable-intl *

*$ make*

....
>

>
>
>
>
>
>
>
>
> *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.old: symbol(s) not found for
> architecture x86_64clang: error: linker command failed with exit code 1
> (use -v to see invocation)make: *** [libs/libphp7.bundle] Error 1*
>

 I have installed icu4c properly and the path is properly picked up at
configure.

Any ideas?

--000000000000cd065b057ed1def7
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Team,<div class=3D"gmail_quote"><div dir=3D"ltr"><div d=
ir=3D"ltr"><div dir=3D"ltr"><div><br></div><div>On MacOS Mojave, installing=
 PHP 7.3.0 from source fails at <b>$ make</b> when configuring with <b>--en=
able-intl </b><br></div><div><br></div><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd=
ing-left:1ex"><b>$ make</b></blockquote><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex"><div>.... <br></div></blockquote><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,=
204);padding-left:1ex"><i>Undefined symbols for architecture x86_64:<br>=C2=
=A0 &quot;thread-local wrapper routine for _tsrm_ls_cache&quot;, referenced=
 from:<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 _zim_IntlDateFormatter___construct=
 in dateformat_create.o<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 _timezone_convert=
_to_datetimezone in timezone_class.o<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 _zif=
_intlcal_from_date_time in calendar_methods.o<br>=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0 _zif_intlcal_to_date_time in calendar_methods.o<br>=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 _php_intlgregcal_constructor_body(_zend_execute_data*, _zva=
l_struct*, unsigned char) in gregoriancalendar_methods.o<br>ld: symbol(s) n=
ot found for architecture x86_64<br>clang: error: linker command failed wit=
h exit code 1 (use -v to see invocation)<br>make: *** [libs/libphp7.bundle]=
 Error 1</i><br></blockquote><div><br></div><div>=C2=A0I have installed icu=
4c properly and the path is properly picked up at configure.</div><div><br>=
</div><div>Any ideas?<br></div></div></div></div>
</div></div>

--000000000000cd065b057ed1def7--