Error with Internationalization extension while compiling php 5.4.8

Posted by Umakant Patil on Server Fault See other posts from Server Fault or by Umakant Patil
Published on 2012-10-20T17:47:54Z Indexed on 2012/10/20 23:05 UTC
Read the original article Hit count: 274

Filed under:
|
|

I downloaded latest php version from php.net i.e. PHP 5.4.8

I configured it with following command

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --enable-intl --with-libdir=lib64 --with-pear --with-mcrypt --with-mhash --enable-mbstring --with-iconv --with-icu-dir=/usr --with-gettext --with-curl --with-mysqli --with-freetype --with-gd --with-curlwrappers --with-jpeg-dir=/usr --with-png-dir=/usr

After this I run 'make' which start building / compiling PHP. After some time

It throws me error

ext/intl/.libs/php_intl.o: In function `zm_startup_intl':
php-5.4.8/ext/intl/php_intl.c:651: undefined reference to `spoofchecker_register_Spoofchecker_class'
php-5.4.8/ext/intl/php_intl.c:654: undefined reference to `spoofchecker_register_constants'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1 

Spent lots of hours finding solutions. I can't come out of any. Does anyone know what this error exactly means? How to get rid of this error?

© Server Fault or respective owner

Related posts about php

Related posts about installation