[Interest] Issues building Qt 5.4.0 on CentOS 5.
Simon Matthews
simon at matthews.eu
Thu Feb 12 04:17:02 CET 2015
On Wed, 11 Feb 2015, Thiago Macieira wrote:
> 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.
OK, nm. By the way, am I correct in my belief that for Qt 5.4.0, that
Webkit depends on icu?
nm --defined /usr/local/lib/libicui18n.so.42.1 | grep ucol_close_4_2
00000000000d0a90 T ucol_close_4_2
Simon
More information about the Interest
mailing list