fycd
2010-12-02 13:03:46 UTC
in froyo. I made two lib: libdl1.so and libdl2.so.
libdl1.so load libdl2.so by dlopen();
and i wrote an executable file "Loadlibfile" witch to test the
libdl2.so
also. I wrote an apk "myApk" to load libdl1.so by System.loadLibrary()
I push the Loadlibfile into /data/data/com.myApk/lib/ (libdl1.so and
libdl2.so are there, too),
and execute ./Loadlibfile. It load libdl2.so well.
but when i run myApk in emulator ,it shows error: "dlopen
link_image[1995]: failed to link 'libdl2.so'" ==>
(load by dlopen("/data/data/com.myApk/lib/libdl2.so") ).
and
" find_library[1188]: 37 'libdl2.so' failed to load previously" ==>
(load by dlopen("./libdl2.so") or dlopen("libdl2.so") )
Please some one help fix it. it has troubled me for a week's long...
T_T
libdl1.so load libdl2.so by dlopen();
and i wrote an executable file "Loadlibfile" witch to test the
libdl2.so
also. I wrote an apk "myApk" to load libdl1.so by System.loadLibrary()
I push the Loadlibfile into /data/data/com.myApk/lib/ (libdl1.so and
libdl2.so are there, too),
and execute ./Loadlibfile. It load libdl2.so well.
but when i run myApk in emulator ,it shows error: "dlopen
link_image[1995]: failed to link 'libdl2.so'" ==>
(load by dlopen("/data/data/com.myApk/lib/libdl2.so") ).
and
" find_library[1188]: 37 'libdl2.so' failed to load previously" ==>
(load by dlopen("./libdl2.so") or dlopen("libdl2.so") )
Please some one help fix it. it has troubled me for a week's long...
T_T
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to android-***@googlegroups.com.
To unsubscribe from this group, send email to android-ndk+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to android-***@googlegroups.com.
To unsubscribe from this group, send email to android-ndk+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.