You are not logged in.

#1 2011-12-02 16:48:14

hifi25nl
Member
Registered: 2011-05-07
Posts: 263

Digikam and vdr broken by last ffmpeg

After updating to ffmpeg 20111123-1 with libavutil.so.51 both digikam and vdr-plugin-xineliboutput-git  are broken.
Yes, vdr-plugin-xineliboutput-git is from archvdr set of packages, but digikam is from official arch extra repository.


For example:
vdr-sxfe: error while loading shared libraries: libavutil.so.50: cannot open shared object file: No such file or directory

I don't see an easy solution. Some suggestions?

Offline

#2 2011-12-03 03:16:59

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Digikam and vdr broken by last ffmpeg

I don't use any of the software that you mentioned, but my gut tells me that your system is out of date. If this is the case and assuming that your primary mirror is working properly, never install packages without first updating your system when using Arch. If you always follow that advice, then your primary mirror is broken and should be replaced.

Offline

#3 2011-12-03 09:25:36

hifi25nl
Member
Registered: 2011-05-07
Posts: 263

Re: Digikam and vdr broken by last ffmpeg

My system is not out of date...I upgrade every day!
Digikam is the last version (2.3.0-2) and so ffmpeg (20111123-1).

What I don't understand is, for example, why digikam (and kipi eventually) have not ffmpeg as dependency if asking for libavutil!
If video is enabled in compilation the dependency on  ffmpeg must be there. Otherwise please disable video, if possible.

A bug in the package digikam I guess.

This is not the first time. Also some time ago I had to wait a long time for a digikam upgrade about libavutil.

Offline

#4 2011-12-03 09:34:56

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Digikam and vdr broken by last ffmpeg

is fine that is asking for libavutil.so.51 is in ffmpeg 20111123

vdr-sxfe on the other hand pacman -Qo vdr-sxfe and that package needs to be rebuilt

how is digikam broken?

Last edited by wonder (2011-12-03 09:35:07)


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2011-12-03 10:03:09

hifi25nl
Member
Registered: 2011-05-07
Posts: 263

Re: Digikam and vdr broken by last ffmpeg

user@archlinux ~]$ digikam
digikam: error while loading shared libraries: libavutil.so.50: cannot open shared object file: No such file or directory

Offline

#6 2011-12-03 10:16:36

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Digikam and vdr broken by last ffmpeg

pacman -Qo digikam please

paste the log created by this command as well

LD_DEBUG=files digikam > digikam.log 2>&1


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2011-12-03 10:31:13

hifi25nl
Member
Registered: 2011-05-07
Posts: 263

Re: Digikam and vdr broken by last ffmpeg

user@archlinux ~]$ pacman -Qo digikam
/usr/bin/digikam is owned by digikam 2.3.0-2

See here digikam.log:

http://www.tophifi.it/ftp/digikam.log

Offline

#8 2011-12-03 10:44:40

hifi25nl
Member
Registered: 2011-05-07
Posts: 263

Re: Digikam and vdr broken by last ffmpeg

As a temporary solution I copied the files libavutil.so.50 and libavutil.so.50.43 to /usr/lib and digikam is starting...

Offline

#9 2011-12-03 11:23:36

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Digikam and vdr broken by last ffmpeg

that is crappy temporaly solution

file=libavutil.so.50 [0];  needed by /usr/lib/libxine.so.1 [0]
digikam: error while loading shared libraries: libavutil.so.50: cannot open shared object file: No such file or directory

do

pacman -Qo  /usr/lib/libxine.so.1

Give what you have. To someone, it may be better than you dare to think.

Offline

#10 2011-12-03 13:38:58

hifi25nl
Member
Registered: 2011-05-07
Posts: 263

Re: Digikam and vdr broken by last ffmpeg

[olmeda@archlinux ~]$ pacman -Qo  /usr/lib/libxine.so.1
error: No package owns /usr/lib/libxine.so.1

This is right: I have libxine 1.2 installed from archvdr set of packages.
libxine.so points to libxine.so.2.0.0

NOTE:
However I cannot switch back to libxine 1 since in that case vdr cannot use vdpau acceleration .

EDIT: digikam has not a a dependency to xine-lib!

Last edited by hifi25nl (2011-12-03 13:43:18)

Offline

#11 2011-12-03 13:39:55

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Digikam and vdr broken by last ffmpeg

just recompile archvdr. that is the proper and the only way to fix your issue.


Give what you have. To someone, it may be better than you dare to think.

Offline

#12 2011-12-03 14:10:56

hifi25nl
Member
Registered: 2011-05-07
Posts: 263

Re: Digikam and vdr broken by last ffmpeg

Recompiling VDR has fixed the issue. Thank you.

However, recompiling digikam with abs stops with these errors:

/usr/bin/ld: warning: libavutil.so.50, needed by /usr/lib/libxine.so.1, not found (try using -rpath or -rpath-link)     
/usr/lib/libxine.so.1: undefined reference to `av_base64_encode@LIBAVUTIL_50'
/usr/lib/libxine.so.1: undefined reference to `av_base64_decode@LIBAVUTIL_50'
/usr/lib/libxine.so.1: undefined reference to `av_mallocz@LIBAVUTIL_50'
/usr/lib/libxine.so.1: undefined reference to `av_free@LIBAVUTIL_50'

I remember that in debian unstable was possible to install both at the same time (xine-lib 1.2 and xine-lib 2.0) to avoid these problems.
I was using aptosid debian unstable before and libxine.so was pointing to libxine 2.0 but libxine.so.1 was pointing to  libxine.so.xx.xx as in my "temporary solution"

Offline

#13 2011-12-03 14:13:28

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Digikam and vdr broken by last ffmpeg

well, who said to recompile digikam?

what you should recompile is xine-lib-2.0


Give what you have. To someone, it may be better than you dare to think.

Offline

#14 2011-12-03 14:15:12

hifi25nl
Member
Registered: 2011-05-07
Posts: 263

Re: Digikam and vdr broken by last ffmpeg

I have already compiled xine-lib 2.0 before (that fixed the vdr problem) but digikam call libxine.so.1, but that doesn't exist!

Offline

#15 2011-12-03 14:24:00

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Digikam and vdr broken by last ffmpeg

libxine.so.1 is in xine-lib package from extra, maybe you copied manually?


Give what you have. To someone, it may be better than you dare to think.

Offline

#16 2011-12-03 14:42:34

hifi25nl
Member
Registered: 2011-05-07
Posts: 263

Re: Digikam and vdr broken by last ffmpeg

To summarize the situation now:

1) I have only xine-lib 2.0 from archvdr.
2) because of 1) I don't have libxine.so.1 in /usr/lib
3) I don't have libavutil.so.50 because in the last ffmpeg package is libavutil.so.51
3) digikam call libxine.so.1 that call libavutil.so.50: both don't exists.

Offline

#17 2011-12-03 14:45:50

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Digikam and vdr broken by last ffmpeg

dude, you do have /usr/lib/libxine.so.1 but is not owned by any package which means that you planted there.

/usr/lib/libxine.so.1 is in xine-lib 1.1.20-1, compiled against new ffmpeg.


Give what you have. To someone, it may be better than you dare to think.

Offline

#18 2011-12-03 15:05:58

hifi25nl
Member
Registered: 2011-05-07
Posts: 263

Re: Digikam and vdr broken by last ffmpeg

Ok, I discovered that I forgot to delete libxine.so.1. Now I have deleted it.
However the situation is the same: since I have libxine 2.0 installed (to be sure I have reinstalled another time), digikam cannot work, since it is calling libxine.so.1
Digikam compilation cannot finish because of libxine.so.1 missing.

Maybe this situation can be fixed only installing xine-lib from extra, but I need xine-lib 2.0....

Last edited by hifi25nl (2011-12-03 15:06:24)

Offline

#19 2011-12-03 15:19:45

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Digikam and vdr broken by last ffmpeg

create a xine-lib2 package


Give what you have. To someone, it may be better than you dare to think.

Offline

Board footer

Powered by FluxBB