Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: hiro on July 14, 2016, 05:19:26 PM
-
ffmpeg: error while loading shared libraries: libcdio_paranoia.so.0: cannot open shared object file: No such file or directory
it's not in the .dep tree of ffmpeg.
-
I realise I had no idea how dynamic libraries work.
I had checked with ldd thinking this will ensure it's an *actual* dependency of the ffmpeg binary.
It turns out it's not. I didn't know ldd does some kind of *recursive* dependency checking.
Sorry for bothering you guys.
perhaps this is dlopen in effect...
I give up at this point, I'll have to carefully update all the hundreds of dependencies now to find the error on my installation.
-
it seems to be cause by my libavdevice.tcz
obviously i can't be sure, cause ldd doesn't help me much any more...
-
You can find the direct dependencies with readelf. "readelf -d path/to/bin-or-lib | grep NEEDE"
-
case stands then, libavdevice.tcz is the culprit.
-
As I don't have a tc-6.x install to recompile ffmpeg, maybe the best thing to do is copy libcdio from the tc-5.x repo, rename it to libcdio-0.8 and use that as a dep for libavdevice in tc-6.x
Maybe you could test that and verify it works before I make the changes?
-
mpd-minimal in tc 7.1 is wanting this lib too.
-
still waiting for feedback on the suggestion above...
-
sorry guys, i forgot to note this down on my todo list.
-
libcdio.tcz from 5.x works.
-
libcdio from tc-5.x x86 repo renamed libcdio-0.8 and copied to tc-6.x x86 repo.
libavdevice and mpd-minimal deps adjusted in tc-6.x x86 repo
-
Is this in place for TC 7 also?
-
$ ldd /usr/local/lib/libavdevice.so | grep cdio
libcdio_paranoia.so.2 => /usr/local/lib/libcdio_paranoia.so.2 (0xb6b15000)
libcdio_cdda.so.2 => /usr/local/lib/libcdio_cdda.so.2 (0xb6b0f000)
libcdio.so.16 => /usr/local/lib/libcdio.so.16 (0xb6131000)