Dennis Kellly
|
6.6: Dynamic link question
|
Dennis Kellly
03/13/2014 8:14 AM
post109396
|
6.6: Dynamic link question
I am having runtime problems with a set of (pre-release) Qt5 libraries provided by QNX. Specifically, the involves
runtime resolving symbols in the 6.6 SDP "icu" libraries. (No problems building the binary.)
Library usr/lib/libicuuc.so.49 contains a function "u_strToLower"
C:\QNX660\target\qnx6\armle-v7>ntoarmv7-objdump -x usr\lib\libicuuc.so.49 | grep u_strToLower
0009d9e0 g F .text 00000094 u_strToLower
When I run any Qt5 binary which I compile using 6.6 toolchain I get an unresolved message:
/inputck
unknown symbol: u_strToLower_49 referenced from libQt5Core.so.5
unknown symbol: u_strToUpper_49 referenced from libQt5Core.so.5
ldd:FATAL: Could not resolve all symbols
DL_DEBUG=1 runtime output includes these lines:
debug: searchpath:1695:/usr/lib/libicuuc.so.49: success
libs: /usr/lib/libicuuc.so.49: found; real path:/usr/lib/libicuuc.so.49
libs: load_elf: Shared library base: 0x7a410000
libs: load_elf: libicuuc.so.49 relro segment is now lazy mapping; 7a4f1000-7a4fa000
libs: load_elf: loaded lib at addr 7a410000(text) 7a4f1770(data)
libs: object libicuuc.so.49 loaded; real soname: libicuuc.so.49 loaded from: /usr/lib/libicuuc.so.49
debug: Added libicuuc.so.49 to link map
What is the deal with the unresolved name "u_strToLower_49" ? Sounds like the "_49" should have been removed by the
runtime linker/loader.
Thanks for any input.
|
|
|