libgnustl_shared.so not built with build type Release

José Fonseca jose.r.fonseca at gmail.com
Tue Jun 2 05:56:30 PDT 2015


I don't use Android myself and can't really answer your questions.

It might be related to
https://github.com/apitrace/apitrace/pull/311#issuecomment-72037363

According to that pull request, one should pass -DANDROID_STL=gnustl_shared
to cmake as explained in docs/INSTALL.markdown.

Jose

On Sat, May 30, 2015 at 8:47 AM, Divick Kishore <divick.kishore at gmail.com>
wrote:

> Hi,
>     when I set the build type to "Release", the libgnustl_shared.so is
> not build in libs/x86 (when building for android). And when I run it
> on target, it complains of missing libgnustl_shared.so due to
> dependency.
>
> For example when run from a root shell within android, I get the following:
>
> root at android:/ # LD_PRELOAD=/data/egltrace.so /system/bin/ls
> soinfo_link_image(linker.cpp:1636): could not load library
> "/data/egltrace.so" needed by "/system/bin/ls"; caused by
> soinfo_link_image(linker.cpp:1654): could not load library
> "libgnustl_shared.so" needed by "egltrace.so"; caused by
> load_library(linker.cpp:760): library "libgnustl_shared.so" not
> foundCANNOT LINK EXECUTABLE
>
> My question is what is libgnustl_shared.so required for and why
> doesn't it get build for Android when CMAKE_BUILD_TYPE is set to
> "Release"?
>
> Any help
> Thanks,
> Divick
> _______________________________________________
> apitrace mailing list
> apitrace at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/apitrace
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/apitrace/attachments/20150602/807e413c/attachment.html>


More information about the apitrace mailing list