Page 1 of 1

0.8.6 dependency check on libdvdread not correct?

Posted: 24 Dec 2006 11:41
by gvdbilt
I was working on compiling VLC 0.8.6 and I got almost everything working, or disabled, except libdvdread.

I have installed libdvdread 0.9.4, libdvdread3-0.9.4-5mdk to be exact, yet on configure and on the RPM installation VLC keeps complaining that it needs a libdvdread of >=0.9.4.

Is this a known issue?

Posted: 29 Dec 2006 13:11
by gvdbilt
Anybody any idea on this?

Posted: 04 Jan 2007 19:13
by RĂ©mi Denis-Courmont
You most likely need to install the development package too if you are compiling yourself (libdvdread-devel or libdevread3-devel probably).

Posted: 06 Jan 2007 13:37
by gvdbilt
That's not the problem, I have installed the dvdread packages, both binary and development:
[host]~$ rpm -qa | grep dvdread
libdvdread3-0.9.4-5mdk
libdvdread3-devel-0.9.4-5mdk

If I hadn't installed the development package the compiling would not have worked in the first place.

I build the VLC RPM myself using rpmbuild and a specfile I modified from the source tarball. The specfile contains the line to check on the RPM install:
%{!?_without_dvdread:Requires: libdvdread >= 0.9.4}

So the check should see if the dvdread package is of version 0.9.4 or higher, which it is on my system. Yet the check fails, and that is what is bothering me on this problem.

Posted: 08 Jan 2007 11:41
by dimstar
There is indeed an error in this spec file for your installed libdvdread.

In fact, you do NOT have libdvdread installed (from PoV of rPM), but only libdvdread3

change that
Requires: libdvdread >= 0.9.4
to
Requires: libdvdread3 >= 0.9.4

and you'll be set for Mandrake.

Posted: 09 Jan 2007 21:01
by gvdbilt
Ahhhhhhhh, I see, thanks :)