nori0428/mod_websocket — Issue #15: Kubuntu 11.10 unicode functions linking issue
Author: maxnet
Created: 2011-11-13 18:25:00+00:00
State: open

==
make[3]: Entering directory `/hdd/max/dev/mod_websocket/src/tests'
/bin/bash ../../libtool --tag=CC --mode=link gcc -Wall -g -D_MOD_WEBSOCKET_SPEC_IETF_00_ -o mod_websocket_conv_test mod_websocket_conv_test.o -L/usr/local/lib -L/opt/local/lib -licui18n -licuuc -lcunit -lev ../../src/libwebsocket.la ../../stub/libtest.la
libtool: link: gcc -Wall -g -D_MOD_WEBSOCKET_SPEC_IETF_00_ -o mod_websocket_conv_test mod_websocket_conv_test.o -L/usr/local/lib -L/opt/local/lib -licui18n -licuuc /usr/lib/libcunit.so /usr/local/lib/libev.so ../../src/.libs/libwebsocket.a ../../stub/.libs/libtest.a
../../src/.libs/libwebsocket.a(mod_websocket_conv.o): In function `mod_websocket_conv':
/hdd/max/dev/mod_websocket/src/mod_websocket_conv.c:31: undefined reference to `ucnv_getMinCharSize_44'
/hdd/max/dev/mod_websocket/src/mod_websocket_conv.c:37: undefined reference to `ucnv_toUnicode_44'
/hdd/max/dev/mod_websocket/src/mod_websocket_conv.c:43: undefined reference to `ucnv_getMaxCharSize_44'
/hdd/max/dev/mod_websocket/src/mod_websocket_conv.c:50: undefined reference to `ucnv_fromUnicode_44'
../../src/.libs/libwebsocket.a(mod_websocket_conv.o): In function `mod_websocket_conv_init':
/hdd/max/dev/mod_websocket/src/mod_websocket_conv.c:77: undefined reference to `ucnv_open_44'
/hdd/max/dev/mod_websocket/src/mod_websocket_conv.c:82: undefined reference to `ucnv_open_44'
/hdd/max/dev/mod_websocket/src/mod_websocket_conv.c:84: undefined reference to `ucnv_close_44'
../../src/.libs/libwebsocket.a(mod_websocket_conv.o): In function `mod_websocket_conv_isUTF8':
/hdd/max/dev/mod_websocket/src/mod_websocket_conv.c:107: undefined reference to `ucsdet_open_44'
/hdd/max/dev/mod_websocket/src/mod_websocket_conv.c:111: undefined reference to `ucsdet_setText_44'
/hdd/max/dev/mod_websocket/src/mod_websocket_conv.c:115: undefined reference to `ucsdet_detectAll_44'
/hdd/max/dev/mod_websocket/src/mod_websocket_conv.c:120: undefined reference to `ucsdet_getName_44'
/hdd/max/dev/mod_websocket/src/mod_websocket_conv.c:128: undefined reference to `ucsdet_close_44'
../../src/.libs/libwebsocket.a(mod_websocket_conv.o): In function `mod_websocket_conv_final':
/hdd/max/dev/mod_websocket/src/mod_websocket_conv.c:172: undefined reference to `ucnv_close_44'
/hdd/max/dev/mod_websocket/src/mod_websocket_conv.c:176: undefined reference to `ucnv_close_44'
collect2: ld returned 1 exit status
make[3]: *** [mod_websocket_conv_test] Error 1
make[3]: Leaving directory `/hdd/max/dev/mod_websocket/src/tests'
==

Despite that libicu is installed and has the right function.

==
$ grep ucnv_getMinCharSize_44 /usr/lib/libicuuc.so
Binary file /usr/lib/libicuuc.so matches
==