[Webkit-unassigned] [Bug 158417] REGRESSION(r201449) [GTK] ARMv7 build fails with libicudata.so.55: cannot open shared object file on gtkdoc-scangobj step

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 6 08:51:56 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=158417

--- Comment #3 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
After some tests I was able to reduce the problem to this:

1) Save this C code example http://stuf.ro/reading-a-utf-8-file-in-c-with-icu as testicu.c
2) Compile it as follows:
$ gcc $(pkg-config --cflags --libs icu-io) testicu.c -o testicu


If you do this on the standard environment (outside of JHBuild) everything works as expected.

However, if you do that inside the internal JHBuild shell then everything goes wrong.

----

This is what happens outside of JHBuild:

$ echo "Hello world!" > utf8_test.txt
$ gcc $(pkg-config --cflags --libs icu-io) testicu.c -o testicu

$ ldd testicu
    libicuio.so.52 => /usr/lib/arm-linux-gnueabihf/libicuio.so.52 (0xb6eb7000)
    libicui18n.so.52 => /usr/lib/arm-linux-gnueabihf/libicui18n.so.52 (0xb6d5f000)
    libicuuc.so.52 => /usr/lib/arm-linux-gnueabihf/libicuuc.so.52 (0xb6c53000)
    libicudata.so.52 => /usr/lib/arm-linux-gnueabihf/libicudata.so.52 (0xb55d7000)
    libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb54e7000)
    libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb54d4000)
    libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb541d000)
    libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb53a9000)
    libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb5380000)
    /lib/ld-linux-armhf.so.3 (0xb6ee4000)

$ ./testicu 
String size: 13

Hello world!

$ pkg-config --cflags --libs icu-io
-I/usr/include/arm-linux-gnueabihf -licuio -licui18n -licuuc -licudata 


-----------

This is what happens inside of JHBuild:

$ Tools/jhbuild/jhbuild-wrapper --gtk shell
$ echo "Hello world!" > utf8_test.txt
$ gcc $(pkg-config --cflags --libs icu-io) testicu.c -o testicu

$ ldd testicu
    libicuio.so.55 => /home/igalia/WebKit/WebKitBuild/DependenciesGTK/Root/lib/libicuio.so.55 (0xb6f49000)
    libicui18n.so.55 => /home/igalia/WebKit/WebKitBuild/DependenciesGTK/Root/lib/libicui18n.so.55 (0xb6c56000)
    libicuuc.so.55 => /home/igalia/WebKit/WebKitBuild/DependenciesGTK/Root/lib/libicuuc.so.55 (0xb6a56000)
    libicudata.so.55 => not found
    libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6952000)
    libicudata.so.55 => not found
    libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb693f000)
    libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb68cb000)
    libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb6814000)
    libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb67eb000)
    /lib/ld-linux-armhf.so.3 (0xb6f69000)
    libicudata.so.55 => not found
    libicudata.so.55 => not found
$ ./testicu
./testicu: error while loading shared libraries: libicudata.so.55: cannot open shared object file: No such file or directory

$ pkg-config --cflags --libs icu-io
-L/home/igalia/WebKit/WebKitBuild/DependenciesGTK/Root/lib -licuio -licui18n -licuuc -licudata

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160606/c2205983/attachment.html>


More information about the webkit-unassigned mailing list