Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
4.8.5
-
None
-
$ uname -a
SunOS gps-dc4 5.10 Generic_147441-01 i86pc i386 i86pc
64 bit machine
Description
1. After building qt, I run "qtdemo" as below:
$ ./qtdemo
Unable to load library icui18n "Cannot load library icui18n: (ld.so.1: qtdemo: fatal: icui18n: open failed: No such file or directory)"
$
2. How I built icu on solaris x86?
504 export LD_OPTIONS='-R/opt/NGRS/contrib/icu/lib'
506 gunzip icu4c-4_8_1_1-src.gz
508 mv icu4c-4_8_1_1-src icu4c-4_8_1_1-src.tar
512 tar xvf icu4c-4_8_1_1-src.tar
516 less readme.html
521 cd source/
523 cd common/unicode/
524 less uversion.h
525 less utypes.h
529 chmod +x runConfigureICU configure install-sh
538 ../source/runConfigureICU --help
539 ../source/runConfigureICU SolarisX86 --with-data-packaging=archive --prefix=/opt/NGRS/contrib/icu
3. How I built qt on solaris x86?
I linked to icu lib and icu header files by brute force.
503 export LD_OPTIONS='-R/opt/NGRS/contrib/qt-4.8.5/lib'
504 export LD_LIBRARY_PATH=/opt/NGRS/contrib/icu/lib:$LD_LIBRARY_PATH
505 echo $LD_LIBRARY_PATH
506 ./configure -prefix /opt/NGRS/contrib/qt-4.8.5 -fast -webkit -nomake tutorial -L /opt/NGRS/contrib/icu/lib -I /opt/NGRS/contrib/icu/include -nomake examples
507 gmake
508 gmake install
4. Questions?
What is the path when qt is looking for icu lib (actually dynamically load within file "tools/qlocale_icu.cpp")?
Which version of hearder files (different versions matter) qt included into ?
How we hard coded the correct path for icu lib and icu header file include paths?
What is the correct version for icu for qt-4.8.5 or later?
How did you recommend us to build icu?
Can we not use icu lib if we still have to use webkit components?