[Interest] Issues building Qt 5.4.0 on CentOS 5.

Thiago Macieira thiago.macieira at intel.com
Thu Feb 12 04:09:34 CET 2015


On Wednesday 11 February 2015 17:56:13 Simon Matthews wrote:
> I think that Webkit is not included because the test for icu fails:
> g++ -L /usr/local/lib -L /usr/local/lib/icu -I /usr/local/include/unicode/ 
> -I /usr/local/include/layout/ 
> ./qtwebkit/Tools/qmake/config.tests/icu/icu.cpp
> /tmp/ccq3GOLd.o: In function `main':
> icu.cpp:(.text+0x33): undefined reference to `ucol_open_4_2'
> icu.cpp:(.text+0x5d): undefined reference to `ucol_close_4_2'
> collect2: error: ld returned 1 exit status

The -l options seem to be missing.

> I have installed (from source) icu 4.2.1 and these symbols appear in the 
> libraries:
> strings /usr/local/lib/libicui18n.so.42.1 | grep "ucol_close_4_2"
> ucol_close_4_2

Hint: use nm instead of strings. Even nm --defined, so you don't catch an 
undefined reference to the symbol.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list