<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Dear gstreamer team members,<br>
I am now developing gstreamer on android.<br>
But I have some trouble on the test.I followed the steps.<br>
1. Build gstreamer sdk for android using cerbero, and successfully
creat gstreamer-1.0-android-arm-1.5.0.zip after execute command
"cerbero -c cross-android.cbc package gstreamer-1.0".<br>
2. I write a simple gstreamer application in C language(please refer
to the attached file), and using NDK build successfully,and creat
executed file gstreamer-test and library libgstreamer-android.so.<br>
3. I push the executed file gstreamer-test and library
libgstreamer-android.so to /system/lib on android, and execute the
file gstreamer-test.<br>
But error happened, the log is as below:<br>
<font color="#ff0000">shell@mst:/system/lib #
./gstreamer-test <br>
CANNOT LINK EXECUTABLE: could not load library
"/home/qys/test_c_for_android/gstreamer-test/obj/local/armeabi/libgstreamer_android.so"
needed by "./gstreamer-test"; caused by library
"/home/qys/test_c_for_android/gstreamer-test/obj/local/armeabi/libgstreamer_android.so"
not found.</font><br>
4. I used the command "readelf -a ./gstreamer-test |grep NEEDED" to
see the executed file, but found the shared library
libgstreamer_android.so' path is wrong.<br>
qys@his-Lenovo:~/test_c_for_android/gstreamer-test/libs/armeabi$
readelf -a ./gstreamer-test |grep NEEDED<br>
<font color="#ff0000"> 0x00000001 (NEEDED)
Shared library:
[/home/qys/test_c_for_android/gstreamer-test/obj/local/armeabi/libgstreamer_android.so]</font><br>
0x00000001 (NEEDED) Shared library:
[libstdc++.so]<br>
0x00000001 (NEEDED) Shared library: [libm.so]<br>
0x00000001 (NEEDED) Shared library: [libc.so]<br>
0x00000001 (NEEDED) Shared library: [libdl.so]<br>
<br>
I found maybe the cause is that the library libgstreamer-android.so
path is error.<br>
I try many methods but could not resolve the problem, how could I
do?<br>
Thank you very much.<br>
<br>
Bill Qin
</body>
</html>