Friday, March 7, 2014
NDK Android.mk dynamic library calls abnormal Cannot load library: link_image: could not load library
I would like to FFMpeg inside ffmpeg_jni.so libjnivideo.so rename next to ffmpeg_jni_.so libjnivideot.so.
Modify ffmpeg_jni.so inside
by NDKLOCAL_SHARED_LIBRARIES: = libjnivideo to LOCAL_SHARED_LIBRARIES: = libjnivideot
LOCAL_MODULE: = libffmpeg_jni to LOCAL_MODULE: = libffmpeg_jni_
Why compiled successfully placed on the machine running time appears
DEBUG / FFMpeg (26428): Couldn't load lib: ffmpeg_jni_ - Cannot load library: link_image [1963]: 93 could not load needed library 'libjnivideo.so' for 'libffmpeg_jni_.so' (load_library [1105]: Library 'libjnivideo . so 'not found)
Why did he call libjnivideo.so?
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Theoretically, it should not be the recommended clean up ..............
Reply:
Thank you for your reply back to you sorry now
I cleaned it with another computer to compile the same problem still appears
Thanks again
What else could it
Reply:
ffmpeg_jni with libjnivideo already at compile time will be good, so changed the name to find it.
Reply:
Thank you for your reply
I recompiled ffmpeg_jni, call libjnivideo in ffmpeg_jni dynamic libraries or static library inside a corresponding name change it is not easy to find libjnivideo.so ...
Reply:
Landlord, I have encountered this problem, I did not change the name of the library, but has been an error: DEBUG / FFMpeg (26428): Couldn't load lib: ffmpeg_jni_ - Cannot load library: link_image [1963]: 93 could not load needed library 'libjnivideo.so' for 'libffmpeg_jni_.so' (load_library [1105]: Library 'libjnivideo.so' not found)
I ask you how to solve it?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment