On Thu, 24 Mar 2011 14:33:37 +0100, Mogens wrote:
On 03/24/2011 02:24 PM, Michael Schwendt wrote:
> It may be just a missing dependency for a library that is dlopen'ed at
> run-time (and hence it would not become an automatic RPM dependency).
> On i686, here mplayer does not depend on that library or the freeglut
> package:
>
> $ repoquery --whatrequires libglut.so.3|grep mplayer
> $ repoquery --alldeps --whatrequires freeglut|grep mplayer
> $
On x86_64 I get the same (non-) answers from repoquery, but:
$ ldd /usr/bin/mplayer|fgrep glut
libglut.so.3 => /usr/lib64/libglut.so.3 (0x0000003dcfa00000)
Hmmm, why is that?
$ ldd /usr/bin/mplayer|cut -f1 -d ' '|wc -l
86
$ rpm -qR mplayer|grep -v ')'|grep ^lib|wc -l
56
$ ldd /usr/bin/mplayer|grep FLAC
libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0x06d0d000)
$ rpm -qR mplayer|grep FLAC
$ ldd /usr/bin/mplayer|grep ncurs
libncurses.so.5 => /lib/libncurses.so.5 (0x06972000)
libncursesw.so.5 => /lib/libncursesw.so.5 (0x008a8000)
$ rpm -qR mplayer|grep ncurs
$
There are many more.