glibc-devel missing gnu/stubs-32.h

Rick Stevens ricks at nerd.com
Fri Jun 17 00:51:58 UTC 2011


On 06/16/2011 01:12 PM, Jakub Jelinek wrote:
> On Thu, Jun 16, 2011 at 01:08:36PM -0700, Mike Wright wrote:
>> I'm trying to compile xen-4.1.1 on f14 and it is failing saying 
>> "/usr/include/gnu/stubs-32.h" no such file.
>>
>> yum whatprovides stubs-32.h: glibc-devel (installed but doesn't have 
>> that file).
>>
>> Is this a packaging error in glibc-devel?
>>
> 
> No, user error.  You should look more carefully on what provides it,
> glibc-devel.i686, rather than glibc-devel.x86_64 you have probably
> installed.
> 
> So, just
> yum install glibc-devel.i686 # and libgcc.i686 probably too
> 
> if you want to compile/link 32-bit stuff on x86-64.

Just to confirm what Jakub said:

[root at prophead ~]# rpm --qf %{NAME}-%{ARCH}\\n -qf
/usr/include/gnu/stubs-64.h
glibc-devel-x86_64
[root at prophead ~]# rpm --qf %{NAME}-%{ARCH}\\n -qf
/usr/include/gnu/stubs-32.h
glibc-devel-i686

----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting          ricks at nerd.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-   The light at the end of the tunnel is really an oncoming train.  -
----------------------------------------------------------------------


More information about the users mailing list