since its android library, it should've been built with bionic libc. logs? and whats the error code retruned by linker?
make sure its linking proper libraries and they are present, (a sample check below) deva@deva-ubunt:/data/build/omap4_l27.11$ $MYDROID/prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin/arm-eabi-strings $MYDROID/out/target/product/blaze/system/lib/libcameraservice.so | grep so$ libui.so libutils.so libbinder.so liblog.so libcutils.so libmedia.so libcamera_client.so libsurfaceflinger_client.so libcamera.so libc.so libstdc++.so libm.so libcameraservice.so deva@deva-ubunt:/data/build/omap4_l27.11$ cd $MYDROID/out/target/product/blaze/system/lib deva@deva-ubunt:/data/build/omap4_l27.11/out/target/product/blaze/system/lib$ ls -l `$MYDROID/prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin/arm-eabi-strings $MYDROID/out/target/product/blaze/system/lib/libcameraservice.so | grep so$` -rw-r--r-- 1 deva deva 149568 2011-01-12 12:33 libbinder.so -rw-r--r-- 1 deva deva 77740 2011-01-12 12:35 libcamera_client.so -rw-r--r-- 1 deva deva 50776 2011-01-23 12:58 libcameraservice.so -rwxr-xr-x 1 deva deva 408552 2011-01-22 19:57 libcamera.so -rw-r--r-- 1 deva deva 278268 2011-01-06 22:47 libc.so -rw-r--r-- 1 deva deva 59364 2011-01-06 22:53 libcutils.so -rw-r--r-- 1 deva deva 13524 2011-01-06 22:52 liblog.so -rw-r--r-- 1 deva deva 418208 2011-01-21 10:51 libmedia.so -rw-r--r-- 1 deva deva 91088 2011-01-06 22:51 libm.so -rw-r--r-- 1 deva deva 5272 2011-01-06 22:51 libstdc++.so -rw-r--r-- 1 deva deva 93136 2011-01-12 12:35 libsurfaceflinger_client.so -rw-r--r-- 1 deva deva 84352 2011-01-12 12:35 libui.so -rw-r--r-- 1 deva deva 155764 2011-01-06 22:54 libutils.so On Fri, Jan 21, 2011 at 10:17 AM, Santoshkumar kammar <[email protected]> wrote: > Hi, > > When I put my libcameraservice.so into device's system/lib > folder the its not loading in logcat its showing the loading of > libcameraservice.so is failed... please help me someone.......... > > -- > With Regards, > > Santoshkumar > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > -- Regards, Deva www.bittoggler.com -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
