WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tc6: ffmpeg wants libcdio_paranoia.so.0  (Read 4439 times)

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
tc6: ffmpeg wants libcdio_paranoia.so.0
« 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.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: tc6: ffmpeg wants libcdio_paranoia.so.0
« Reply #1 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.
« Last Edit: July 14, 2016, 05:25:58 PM by hiro »

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: tc6: ffmpeg wants libcdio_paranoia.so.0
« Reply #2 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...

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: tc6: ffmpeg wants libcdio_paranoia.so.0
« Reply #3 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"
The only barriers that can stop you are the ones you create yourself.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: tc6: ffmpeg wants libcdio_paranoia.so.0
« Reply #4 on: July 15, 2016, 05:22:00 AM »
case stands then, libavdevice.tcz is the culprit.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: tc6: ffmpeg wants libcdio_paranoia.so.0
« Reply #5 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?

Offline donquixote2u

  • Newbie
  • *
  • Posts: 20
Re: tc6: ffmpeg wants libcdio_paranoia.so.0
« Reply #6 on: July 28, 2016, 07:52:05 PM »
mpd-minimal in tc 7.1 is wanting this lib too.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: tc6: ffmpeg wants libcdio_paranoia.so.0
« Reply #7 on: July 29, 2016, 03:45:43 AM »
still waiting for feedback on the suggestion above...

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: tc6: ffmpeg wants libcdio_paranoia.so.0
« Reply #8 on: July 29, 2016, 03:48:28 AM »
sorry guys, i forgot to note this down on my todo  list.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: tc6: ffmpeg wants libcdio_paranoia.so.0
« Reply #9 on: August 02, 2016, 06:10:05 AM »
libcdio.tcz from 5.x works.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: tc6: ffmpeg wants libcdio_paranoia.so.0
« Reply #10 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

Offline donquixote2u

  • Newbie
  • *
  • Posts: 20
Re: tc6: ffmpeg wants libcdio_paranoia.so.0
« Reply #11 on: August 03, 2016, 10:38:29 PM »
Is this in place for TC 7 also?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: tc6: ffmpeg wants libcdio_paranoia.so.0
« Reply #12 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)