I've had it running quite fine when the first unofficial debian armhf port came along (November 2011).
But something has changed in debian I believe, with my new fresh install. Firstly, it failed to detect arm-sysv, since the binary that was supposed to detect it recuired libc.so.6 and a few other libs to be in /lib, which has changed in debian.
A few symlinks later I got it installed, but it will not preload libmediaclient.so.
I've built a small executable that I could strace, and found that the program exists immediately after loading the so :
---- program ----
#include <dlfcn.h>
#include <stdio.h>
int main()
{
dlopen("/opt/lib/libmediaclient.so",RTLD_LAZY);
printf("Opened\n");
return 0;
}
---- program ----
Compiled with gcc test.c -ldl -o test
Never prints Opened, the return code is 1, if it helps.
---- strace snippet ----
open("/opt/lib/libmediaclient.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0004\31\0\0004\0\0\0"..., 512) = 512
lseek(3, 58456, SEEK_SET) = 58456
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1000) = 1000
lseek(3, 58201, SEEK_SET) = 58201
read(3, "A/\0\0\0aeabi\0\1%\0\0\0\5ARM9TDMI\0\6\2\10\1\t\1"..., 48) = 48
exit_group(1) = ?
---- strace snippet ----
The driver works fine on the old broken debian from november. What could possibly cause this? - If it was dependency issues then I believe it would have printed it, and definitely not exit on dlopen.
Do you have any clues as to what could have caused this, and how to fix it?
It fails the same way with the newest driver as well as with the one used on the old debian install.