On 04/02/2011 06:34 PM, Kay Diederichs wrote:
Dear all,

to be able to do 32bit-compilation/linking (e.g. using gfortran -m32) on
a 64bit machine I need /usr/lib/crt1.o .

I know this file is in glibc-devel.i686 so I try

% yum install glibc-devel.i686
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* sl: scientificlinux.physik.uni-muenchen.de
* sl-security: scientificlinux.physik.uni-muenchen.de
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package glibc-devel.i686 0:2.12-1.7.el6 set to be updated
--> Processing Dependency: glibc = 2.12-1.7.el6 for package:
glibc-devel-2.12-1.7.el6.i686
--> Processing Dependency: glibc-headers = 2.12-1.7.el6 for package:
glibc-devel-2.12-1.7.el6.i686
--> Finished Dependency Resolution
Error: Package: glibc-devel-2.12-1.7.el6.i686 (sl)
Requires: glibc = 2.12-1.7.el6
Installed: glibc-2.12-1.7.el6_0.3.i686 (@sl-updates/6)
glibc = 2.12-1.7.el6_0.3
Installed: glibc-2.12-1.7.el6_0.3.x86_64 (@sl-updates/6)
glibc = 2.12-1.7.el6_0.3
Available: glibc-2.12-1.7.el6.i686 (sl)
glibc = 2.12-1.7.el6
Available: glibc-2.12-1.7.el6.x86_64 (sl)
glibc = 2.12-1.7.el6
Error: Package: glibc-devel-2.12-1.7.el6.i686 (sl)
Requires: glibc-headers = 2.12-1.7.el6
Installed: glibc-headers-2.12-1.7.el6_0.3.x86_64 (@sl-updates/6)
glibc-headers = 2.12-1.7.el6_0.3
Available: glibc-headers-2.12-1.7.el6.x86_64 (sl)
glibc-headers = 2.12-1.7.el6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

What is the underlying problem?

Looks as if the repos/mirrors you use do not have glibc-devel 2.12-1.7.el6_0.3 for i686. So they offer you glibc-devel-2.12-1.7.el6.i686. But that one is not compatible with the glibc package versions you already have installed.

Hope this helps,

Matthias

Reply via email to