Hi, I have created a shared library using arm tool chain. I implemented a c program in which iam using functions like fgets,strcpy. So for that we need to give support of arm cross compiled glibc I generated the .so using the following commands #arm-none-linux-gnueabi-gcc -fpic -c sample.c #arm-none-linux-gnueabi-ld -T armelf_linux_eabi.xsc -shared -o libmylib.so sample.o -L /path of my arm libc(/usr/locaal-arm-linux-gnueabi/sysroot/libc) -lc #arm-none-linux-gnueabi-ld libmylib.so
Now i used above library in my android application . Then in logcat it is displaying error that 06-04 09:32:25.792: INFO/dalvikvm(261): Unable to dlopen(/data/data/sct.widget/lib/libmylib.so): Cannot load library: link_image[1721]: 30 could not load needed library 'libc.so.6' for 'libmylib.so' (load_library[1051]: Library 'libc.so.6' not found) Please anyone can help me Regards, karteek -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en