Re: fed up with failed failed dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 15 Sep 2004, xavier.sinecosa wrote:

> I am going around this problem. Is there a solution 
> ? 
> I have the following result when I try to install 
> the following rpm package. 
> 
> # rpm -Uvh vlc-0.7.2-1.i386.rpm
> error: Failed dependencies:
>         libXinerama.so.1 is needed by vlc-0.7.2-1
>         libasound.so.2 is needed by vlc-0.7.2-1
>         mozilla >= 1.6 is needed by vlc-0.7.2-1
> 
> And I have: 
> #ll /usr/lib/libasound.* 
> /usr/X11R6/lib/libXinerama.*
> -rwxr-xr-x    1 root     root          803 sep 15 
> 19:34 /usr/lib/libasound.la
> lrwxrwxrwx    1 root     root           18 sep 15 
> 19:34 /usr/lib/libasound.so -> libasound.so.2.0.0
> lrwxrwxrwx    1 root     root           18 sep 15 
> 19:34 /usr/lib/libasound.so.2 -> libasound.so.2.0.0
> -rwxr-xr-x    1 root     root      3434048 sep 15 
> 19:34 /usr/lib/libasound.so.2.0.0
> -rw-r--r--    1 root     root         5326 fév 27  
> 2003 /usr/X11R6/lib/libXinerama.a
> lrwxrwxrwx    1 root     root           16 sep  2 
> 17:44 /usr/X11R6/lib/libXinerama.so -> libXinerama.
> so.1
> -rwxr-xr-x    1 root     root         6773 sep  2 
> 17:44 /usr/X11R6/lib/libXinerama.so.1
> 
> libasound library comes with alsa-lib-1.0.6.tar.bz2 
> source archive, I compiled and installed with no 
> specific problem. 
> 
> I read some post on various forums, where experts 
> tell it is not wise to do in any case the use of 
> --nodeps option. 
> Also, I tried a ldconfig after installation of 
> libasound library, but rpm still complain. I tried 
> to find information in the Maximum RPM guide found 
> at http://www.rpm.org/max-rpm/index.html
> I don't know what to do. Ignore these messages when 
> I have checked that failing libraries do exist ?
> 
> Any help is welcome. 
> 
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list
> 
What rpm is looking for is to see if these files have been
provided by a package.  If not, then it says it can't
satisfy the dependency.  What you need to check is if
the files and libraries on your system are provided
by rpm.  The way to do this is( ksh/sh syntax ) :

  for pkg in `rpm -q --all`
  do
    rpm -q --filesbypkg | egrep 'libXinerama\.so\.1' && echo $pkg
  done

If no package echoes out, then this library is not supplied by one.
You will have to create a virtual package which merely says that
this library is provided without actually installing it.  Look
on pp. 413-416 of the 'Red Hat RPM Guide' for more information.

Regards,
Sandra Carney


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux