Hi everybody,
I am currently working on integrating the Freescale gstreamer-0.10 plugins with debian wheezy armhf. Packages for both the gstreamer plugins and libfslcodec are basically done. The problem I am now stuck with is getting it to actually work.
I tried the test binary "test_mp3_dec_arm11_elinux_fhw" that is part of libfslcodec on my system, and I end up with his error message:
./test_mp3_dec_arm11_elinux_fhw: error while loading shared libraries: lib_mp3_dec_arm11_elinux.so.2: cannot open shared object file: No such file or directory
I examined the linker cache with ldconfig -p, and found the library is known, and has the right name:
llib_mp3_dec_arm11_elinux.so.2 (libc6) => /usr/lib/lib_mp3_dec_arm11_elinux.so.2
Using LD_DEBUG=libs, I found that the linker looks at the library,
trying file=/usr/lib/lib_mp3_dec_arm11_elinux.so.2
only to then continue and state that the it could not be found. I suspect the linker skips the library on purpose. But how can I find out why?
In case you want to see for yourself, the packages are in this repo:
deb Index of /BSP:/Cubox-i/Debian_Wheezy ./
mind that libfslcodec installs to /usr/lib/imx-mm/*/; I was moving the libs to /usr/lib manually to ease testing.