Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: hiro on July 14, 2016, 05:19:26 PM

Title: tc6: ffmpeg wants libcdio_paranoia.so.0
Post 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.
Title: Re: tc6: ffmpeg wants libcdio_paranoia.so.0
Post by: hiro on July 14, 2016, 05:24:10 PM
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.
Title: Re: tc6: ffmpeg wants libcdio_paranoia.so.0
Post by: hiro on July 14, 2016, 05:36:52 PM
it seems to be cause by my libavdevice.tcz
obviously i can't be sure, cause ldd doesn't help me much any more...
Title: Re: tc6: ffmpeg wants libcdio_paranoia.so.0
Post by: curaga on July 15, 2016, 03:15:52 AM
You can find the direct dependencies with readelf. "readelf -d path/to/bin-or-lib | grep NEEDE"
Title: Re: tc6: ffmpeg wants libcdio_paranoia.so.0
Post by: hiro on July 15, 2016, 05:22:00 AM
case stands then, libavdevice.tcz is the culprit.
Title: Re: tc6: ffmpeg wants libcdio_paranoia.so.0
Post by: Juanito on July 15, 2016, 09:50:35 AM
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?
Title: Re: tc6: ffmpeg wants libcdio_paranoia.so.0
Post by: donquixote2u on July 28, 2016, 07:52:05 PM
mpd-minimal in tc 7.1 is wanting this lib too.
Title: Re: tc6: ffmpeg wants libcdio_paranoia.so.0
Post by: Juanito on July 29, 2016, 03:45:43 AM
still waiting for feedback on the suggestion above...
Title: Re: tc6: ffmpeg wants libcdio_paranoia.so.0
Post by: hiro on July 29, 2016, 03:48:28 AM
sorry guys, i forgot to note this down on my todo  list.
Title: Re: tc6: ffmpeg wants libcdio_paranoia.so.0
Post by: hiro on August 02, 2016, 06:10:05 AM
libcdio.tcz from 5.x works.
Title: Re: tc6: ffmpeg wants libcdio_paranoia.so.0
Post by: Juanito on August 02, 2016, 12:34:20 PM
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
Title: Re: tc6: ffmpeg wants libcdio_paranoia.so.0
Post by: donquixote2u on August 03, 2016, 10:38:29 PM
Is this in place for TC 7 also?
Title: Re: tc6: ffmpeg wants libcdio_paranoia.so.0
Post by: Juanito on August 04, 2016, 05:01:45 AM
Code: [Select]
$ 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)