failed dependencies when installing rpm

Phebe_Mertes at aotx.uscourts.gov Phebe_Mertes at aotx.uscourts.gov
Fri Jun 4 12:40:05 UTC 2010


rpm-list-bounces at lists.rpm.org wrote on 06/03/2010 11:30:18 PM:

> From: X Y <writeacomment at yahoo.com>
> To: rpm-list at lists.rpm.org
> Date: 06/03/2010 11:30 PM
> Subject: failed dependencies when installing rpm
> Sent by: rpm-list-bounces at lists.rpm.org
>
> When installing rpm built in SUSE10 in a fedora system,
> get the following error:
>
>
--------------------------------------------------------------------------------
> Error: Failed dependencies
>            Libc.so.6 is needed by  Package-1.2-16.i586
>            Libc.so.6 (GLIBC_2.0) is needed by Package-1.2-16.i586
>            Libc.so.6(GLIBC_2.0) is needed by Package-1.2-16.i586
>            Libc.so.6(GLIB_2.1.3) is needed by Package-1.2-16.i586
>            Libc.so.6(GLIB_2.3) is needed by Package-1.2-16.i586
>
> Looking at the package, it only has bash scripts and no C code,
> wondering why it has GLIBC dependencies. Please help.
>
> The operating system is 2.6.33.3-85.fc13.x86_64
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list

Don't know why it needs GLIBC, or if this is an rpm build issue. But I do
see that it needs the i586 library that can run on an x86_64 system.

While installing 32 bit applications on RHEL5 I have had these dependencies
and have to install two libraries, the 64 bit and the 32 bit created
specifically for the 64 bit system.

You will need to install both the x86_64 and the i586 or i686. For my RHEL5
system I pick the i686 specifically for the 64bit

glibc-2.5-24.el5_2.2.i686     Red Hat Enterprise Linux (v. 5 for 64-bit
x86_64)
glibc-2.5-24.el5_2.2.x86_64   Red Hat Enterprise Linux (v. 5 for 64-bit
x86_64)

See how the versions match even though they are meant for 32 bit
application or a 64 bit application.

After you install the i586 version you can do an rpm query and see both
libraries

rpm -qa --queryformat "%{NAME}, %{VERSION}, %{RELEASE}, %{ARCH}\n" | grep
glibc

[root at bu backup]# rpm -qa --queryformat "%{NAME}, %{VERSION}, %{RELEASE},
%{ARCH}\n" | grep glibc
glibc, 2.5, 34, x86_64
glibc-common, 2.5, 34, x86_64
glibc, 2.5, 34, i686
[root at bu backup]#

Hope this helps define which libraries you do have and may need.

-phebe



More information about the Rpm-list mailing list