Last modified: April 19 2005 14:15:28
Background: Server running Fedora Core 3 x86 64bit Linux.
Problem: Needed to install an i386 RPM (in this case, the Retrospect Remote client for Linux). When I tried, it complained:
[username@host ~]$ sudo rpm -Uvh retroclient-65.rpm
Password:
error: Failed dependencies:
libglib-1.2.so.0 is needed by retroclient-6.5.108-1.i386
libgthread-1.2.so.0 is needed by retroclient-6.5.108-1.i386
That file is there, of course, but only in the /usr/lib64/ path:
[username@host ~]$ locate libglib-1.2 /usr/lib64/libglib-1.2.so.0 /usr/lib64/libglib-1.2.so.0.0.10To find out which package it came from:
[username@host ~]$ rpm -qf /usr/lib64/libglib-1.2.so.0 glib-1.2.10-15
[username@host ~]$ ld --verbose GNU ld version 2.15.92.0.2 20040927 Supported emulations: elf_x86_64 elf_i386 i386linux ...
We already had yum set up on this machine, and yum lets you specify a package's architecture (if multiple choices are available) when you ask to install it.
[username@host ~]$ yum search glib ... glib.x86_64 1:1.2.10-15 installed ... glibc.i686 2.3.3-74 [some repository] ...
[username@host ~]$ wget http://ford.stearns.org/fedora/yum.conf.addme [username@host ~]$ cat yum.conf.addme > yum.conf
[username@host ~]$ rpm -e yum-2.1.12-0.fc3 yum-2.1.12-48.rhfc3.at [username@host ~]$ rpm -Uvh http://ford.stearns.org/fedora/linux/3/x86_64/updates/packages/yum-2.1.12-0.fc3.noarch.rpm [username@host ~]$ cat yum.conf.rpmsave > yum.conf
You need yum version 2.1.12 or better; 2.1.11 has a bug that won't let you install a package with a different architecture alongside another one.
[username@host ~]$ yum --versionto find out. If yours is old, do
[username@host ~]$ yum check-update [username@host ~]$ yum update yumIf it still whines about the GPG thing, do:
[username@host ~]$ rpm --import http://atrpms.net/RPM-GPG-KEY.atrpmsand update again.
When yum is up to date and working, install the package:
[username@host ~]$ yum install glib.i386
Get Euro-style oval stickers for Geeks!

NEW -- the "magic/more magic" light switch cover!
References: