Could not load shared symbol libraries for 67 libraries, for example. libstdc ++. So

I read so many articles, but did not understand how to solve this problem:

$ /cygdrive/e/adt-bundle-windows-x86/android-ndk-r8d/ndk-build Gdbserver : [arm-linux-androideabi-4.6] libs/armeabi/gdbserver Gdbsetup : libs/armeabi/gdb.setup Cygwin : Generating dependency file converter script Compile++ thumb : Andest1 <= Andest1.cpp StaticLibrary : libstdc++.a SharedLibrary : libAndest1.so Install : libAndest1.so => libs/armeabi/libAndest1.so $ /cygdrive/e/adt-bundle-windows-x86/android-ndk-r8d/ndk-gdb --project=e:/workspace/Andrd1 --port=5000 --start --force --verbose 0xafd0c52c in epoll_wait () from E:\workspace\Andrd1/./obj/local/armeabi/libc.so warning: .dynamic section for "E:\workspace\Andrd1/./obj/local/armeabi/libAndrd1.so" is not at the expected address (wrong library or version mismatch?) warning: Could not load shared library symbols for 67 libraries, eg libstdc++.so. 
+6
source share
1 answer

I also have this problem when I debug my own eclipse code. and finally, I found out that we should just ignore it.

IMPORTANT: the GDB prompt will be preceded by a long list of error messages where gdb complains that it cannot find various system libraries (for example, libc.so, libstdc ++, therefore liblog.so, libcutils.so, etc.)

  This is normal, because there are no symbol/debug versions of these libraries corresponding to your target device on your development machine. You can safely ignore these messages. 

read ANDROID-NDK-DOCUMENT and you will find it.

hope i helped.

EDIT:

  • this quote can be found in android-ndk-r8d / documentation.html in the NDK-GDB section
+1
source

All Articles