title: Unsatisfied Link Error - Could not find Library
body: <p>I'm attempting to load the libjnigraphics.so prebuilt library to my project, however when I deploy the application, I am receiving this error:</p>
  
  <pre><code>06-17 22:35:28.741: INFO/dalvikvm(298): Unable to dlopen(/data/data/com.foo/lib/libndkfoo.so): Cannot load library: link_image[1721]:    29 could not load needed library 'libjnigraphics.so' for 'libndkfoo.so' (load_library[1051]: Library 'libjnigraphics.so' not found)
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/ExfPh.png" alt="error"></p>
  
  <p>It compiles perfectly, fine. </p>
  
  <p>Here's my Android.mk as well:</p>
  
  <pre><code>LOCAL_PATH := $(call my-dir)
  
  # Add prebuilt libjnigraphics
  include $(CLEAR_VARS)
  
  LOCAL_MODULE := libjnigraphics
  LOCAL_SRC_FILES := libjnigraphics.so
  LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
  
  include $(PREBUILT_SHARED_LIBRARY)
  
  
  include $(CLEAR_VARS)
  
  # Here we give our module name and source file(s)
  LOCAL_MODULE    := ndkfoo
  LOCAL_SRC_FILES := ndkfoo.c
  LOCAL_SHARED_LIBRARY := libjnigraphics
  #LOCAL_LDLIBS += -libjnigraphics
  LOCAL_LDLIBS += -llog
  
  include $(BUILD_SHARED_LIBRARY)
  </code></pre>
  
  <p>Is there a special place I need to put the libjnigraphics.so? Right now I have it in the jni folder, however I've tried it in multiple other places and it still fails. Any help?</p>