#47055 [Asn]: Compilation errors in ext/sqlite3/libsqlite
ID: 47055
User updated by: giovanni at giacobbi dot net
Reported By: giovanni at giacobbi dot net
Status: Assigned
Bug Type: Compile Failure
Operating System: Linux Debian 4.0
PHP Version: 5.3CVS-2009-01-09 (snap)
Assigned To: scottmac
New Comment:
./configure \
--bindir=/usr/local/lib/php/bin \
--with-apxs2=/usr/local/apache2/bin/apxs \
--disable-cgi \
--with-config-file-path=/usr/local/lib/php5 \
--with-openssl \
--with-zlib \
--enable-bcmath \
--with-bz2=shared \
--enable-calendar \
--with-curl=shared \
--enable-dba=shared \
--with-db4=shared \
--enable-ftp \
--with-gd \
--with-freetype-dir --enable-gd-native-ttf \
--with-gettext=shared \
--without-mhash \
--with-iconv=shared \
--enable-intl=shared \
--enable-mbstring \
--with-mysql --with-mysql-sock=/var/run/mysqld/mysqld.sock \
--enable-pcntl \
--enable-dom \
--with-xmlrpc \
--enable-soap \
--enable-sockets
Previous Comments:
------------------------------------------------------------------------
[2009-01-09 15:36:42] scottmac@php.net
What was the configure line you were using?
------------------------------------------------------------------------
[2009-01-09 15:28:47] giovanni at giacobbi dot net
Description:
------------
During the final linking of sapi/cli/php I get the following errors.
Adding "-licui18n" solves the problem.
ext/sqlite3/libsqlite/.libs/sqlite3.o: In function `icuNext':
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100648:
undefined reference to `ubrk_current_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100649:
undefined reference to `ubrk_next_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100657:
undefined reference to `u_isspace_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100657:
undefined reference to `u_isspace_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100677:
undefined reference to `u_strToUTF8_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100656:
undefined reference to `utf8_nextCharSafeBody_3_6'
ext/sqlite3/libsqlite/.libs/sqlite3.o: In function `icuClose':
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100622:
undefined reference to `ubrk_close_3_6'
ext/sqlite3/libsqlite/.libs/sqlite3.o: In function `icuLikeCompare':
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100043:
undefined reference to `utf8_countTrailBytes_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100091:
undefined reference to `utf8_countTrailBytes_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100092:
undefined reference to `u_foldCase_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100093:
undefined reference to `u_foldCase_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100064:
undefined reference to `utf8_countTrailBytes_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100075:
undefined reference to `utf8_countTrailBytes_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100082:
undefined reference to `utf8_countTrailBytes_3_6'
ext/sqlite3/libsqlite/.libs/sqlite3.o: In function `icuLikeFunc':
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100143:
undefined reference to `utf8_nextCharSafeBody_3_6'
ext/sqlite3/libsqlite/.libs/sqlite3.o: In function `icuOpen':
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100590:
undefined reference to `u_foldCase_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100599:
undefined reference to `utf8_nextCharSafeBody_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100605:
undefined reference to `ubrk_open_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100612:
undefined reference to `ubrk_first_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100587:
undefined reference to `utf8_nextCharSafeBody_3_6'
ext/sqlite3/libsqlite/.libs/sqlite3.o: In function `icuFunctionError':
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100169:
undefined reference to `u_errorName_3_6'
ext/sqlite3/libsqlite/.libs/sqlite3.o: In function `icuLoadCollation':
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100388:
undefined reference to `ucol_open_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100399:
undefined reference to `ucol_close_3_6'
ext/sqlite3/libsqlite/.libs/sqlite3.o: In function `icuCollationColl':
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100345:
undefined reference to `ucol_strcoll_3_6'
ext/sqlite3/libsqlite/.libs/sqlite3.o: In function `icuCaseFunc16':
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100310:
undefined reference to `u_strToUpper_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100312:
undefined reference to `u_strToLower_3_6'
ext/sqlite3/libsqlite/.libs/sqlite3.o: In function `icuRegexpFunc':
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100233:
undefined reference to `uregex_setText_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100221:
undefined reference to `uregex_open_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100240:
undefined reference to `uregex_matches_3_6'
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100251:
undefined reference to `uregex_setText_3_6'
ext/sqlite3/libsqlite/.libs/sqlite3.o: In function `icuCollationDel':
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100329:
undefined reference to `ucol_close_3_6'
ext/sqlite3/libsqlite/.libs/sqlite3.o: In function `icuRegexpDelete':
/home/johnny/build/php5.3-200901091330/ext/sqlite3/libsqlite/sqlite3.c:100180:
undefined reference to `uregex_close_3_6'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47055&edit=1
Thread (4 messages)