Android NDK can't find stlport

view story

http://stackoverflow.com – I'm trying to compile a native library (derived from WebRTC) by using android NDK rev8b. I get the following error: android_ndk/android-ndk-r8b/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: cannot find -lstlport_static So it can't find the stl library. I have installed libmagic-dev. The version of the distribution (as returned by /proc/version) is: Linux version 2.6.32-40-generic (buildd@yellow) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #87-Ubuntu SMP Tue Mar 6 00:56:56 UTC 2012 (HowTos)