<div dir="ltr"><div>I don't use Android myself and can't really answer your questions.</div><div><br></div>It might be related to <a href="https://github.com/apitrace/apitrace/pull/311#issuecomment-72037363">https://github.com/apitrace/apitrace/pull/311#issuecomment-72037363</a><div><br></div><div>According to that pull request, one should pass -DANDROID_STL=gnustl_shared to cmake as explained in docs/INSTALL.markdown.</div><div><br></div><div>Jose</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 30, 2015 at 8:47 AM, Divick Kishore <span dir="ltr"><<a href="mailto:divick.kishore@gmail.com" target="_blank">divick.kishore@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
    when I set the build type to "Release", the libgnustl_shared.so is<br>
not build in libs/x86 (when building for android). And when I run it<br>
on target, it complains of missing libgnustl_shared.so due to<br>
dependency.<br>
<br>
For example when run from a root shell within android, I get the following:<br>
<br>
root@android:/ # LD_PRELOAD=/data/egltrace.so /system/bin/ls<br>
soinfo_link_image(linker.cpp:1636): could not load library<br>
"/data/egltrace.so" needed by "/system/bin/ls"; caused by<br>
soinfo_link_image(linker.cpp:1654): could not load library<br>
"libgnustl_shared.so" needed by "egltrace.so"; caused by<br>
load_library(linker.cpp:760): library "libgnustl_shared.so" not<br>
foundCANNOT LINK EXECUTABLE<br>
<br>
My question is what is libgnustl_shared.so required for and why<br>
doesn't it get build for Android when CMAKE_BUILD_TYPE is set to<br>
"Release"?<br>
<br>
Any help<br>
Thanks,<br>
Divick<br>
_______________________________________________<br>
apitrace mailing list<br>
<a href="mailto:apitrace@lists.freedesktop.org">apitrace@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/apitrace" target="_blank">http://lists.freedesktop.org/mailman/listinfo/apitrace</a><br>
</blockquote></div><br></div>