From: giovanni at giacobbi dot net Operating system: Linux Debian 4.0 PHP version: 5.3CVS-2009-01-09 (snap) PHP Bug Type: Compile Failure Bug description: Compilation errors in ext/sqlite3/libsqlite
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 bug report at http://bugs.php.net/?id=47055&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47055&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47055&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47055&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47055&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47055&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47055&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47055&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47055&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47055&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47055&r=support Expected behavior: http://bugs.php.net/fix.php?id=47055&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47055&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47055&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47055&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47055&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47055&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47055&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47055&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47055&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47055&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47055&r=mysqlcfg