Details
-
Bug
-
Resolution: Won't Do
-
P2: Important
-
None
-
5.0.0 Beta 2
-
None
-
Host: Ubuntu 12.04 LTS on x86, g++ 4.6.3
Target: Ubuntu 12.04 LTS on ARMv7 (beagleboard), arm-linux-gnueabihf-g++ 4.6.3
Description
The libicu configure test fails in cross builds with the following output:
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld: warning: libicudata.so.48, needed by /home/user/target_root/usr/lib/../lib/libicuuc.so, not found (try using -rpath or -rpath-link)
/home/user/target_root/usr/lib/../lib/libicuuc.so: undefined reference to `icudt48_dat'
collect2: ld returned 1 exit status
The reason is that no -licudata is given in icu.pro und g++ seems to not look in the sysroot path for shared libs that are required by other shared libs.
A solution would be: Add -licudata to unix:LIBS variable in qtbase/config.tests/unix/icu/icu.pro.
Attachments
Issue Links
- relates to
-
QTBUG-52501 Linking with non-system ICU fails
- Reported
-
QTBUG-59457 hard-coded -rpath-link in mkspecs breaks builds with pre-installed qt
- Closed
-
QTBUG-53865 Linking with non-system ICU fails
- Closed