title: Cannot load library: soinfo_relocate(linker.cpp:987): cannot locate symbol "wait4" referenced by "libcoresdkinterface-jni.so
body: <p>I am adding Jelly Beans Support to my Android Kitkat application. I have mentioned minsdk version as 16 and targerSdk version as 19. Currently I am building it against API level 19. After build when I run it on my Jelly Bean device, It crashes with error mentioned as the title of this question.</p>
  
  <p>I got to know that to avoid this error, I need to build my native against Android toolchain generated for API level 16 (since Jelly beans starts from api level 16). I have Android NDK Version android-ndk-r10d. So I went to my NDK directory and used the following command to create a standalone toolchain for API level 16.</p>
  
  <pre><code>build/tools/make-standalone-toolchain.sh --toolchain=arm-linux-androideabi-4.8 --platform=android-16 --install-dir=/usr/lo0cal/android-toolchain-16/
  </code></pre>
  
  <p>Above command created a directory named <code>android-toolchain-16/ in /usr/local/</code>. I added the the path <code>/usr/lo0cal/android-toolchain-16/bin</code> to my PATH variable.</p>
  
  <p>Then I went on and build my native using the script I have. Then I built my app and tried. But it still crashes. Do I need to download a lower version of Android NDK? Because right now I am using android-ndk-r10d. As I found from the web, android-ndk-8b was released right after API level 16.</p>
  
  <p>Or what else I can do? I am using OS X 10.9.5 with i5 (64 bit).</p>