scientificlinuxforum.org QR code
Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Where can I find glibc-devel.i386?
Dididito
 Posted: Jul 11 2011, 09:32 AM
Quote Post


SLF Newbie


Group: Members
Posts: 3
Member No.: 416
Joined: 11-July 11









Hello Everybody!!

I'm new on the forum. I hope you can help me in my beginning with SL. smile.gif

When I compiling a program I get this error:

CODE
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h


I have been searching on internet and it's due to I'm using x84_64 machine it must be solved just installing glibc-devel.i386 doing something like:
CODE
yum install -y glibc-devel.i386.


The problem is that when I try to find on the default repository, this package seems to be missing or whatever because I can not install it. Maybe I need to add a new repository or something like that, but I really don't know.

Thank you very much in advance for the answers.
PMEmail Poster
^
tux99
 Posted: Jul 11 2011, 09:41 AM
Quote Post


SLF Guru
********

Group: Members
Posts: 1289
Member No.: 224
Joined: 28-May 11









The following package from the standard SL6 repos contains /usr/include/gnu/stubs-32.h:

glibc-devel-2.12-1.7.el6_0.5.i686

A useful command for finding a package when you only know the name of a file you are looking for is 'yum provides', for example:

CODE
yum provides "*gnu/stubs-32.h"


This will list all packages (in the activated repos) that contains the file *gnu/stubs-32.h.


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories) - repository mirror: http://linuxsoft.cern.ch/linuxtech/el6/
PM
^
Dididito
 Posted: Jul 11 2011, 09:48 AM
Quote Post


SLF Newbie


Group: Members
Posts: 3
Member No.: 416
Joined: 11-July 11









Thank you very much tux99, I didn't know that command, and it is really useful.

After use it, I found the package you told me, but when I try to install it I get this error:

CODE
--> 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-headers = 2.12-1.7.el6
          Installed: glibc-headers-2.12-1.7.el6_0.5.x86_64 (@sl-security)
              glibc-headers = 2.12-1.7.el6_0.5
          Available: glibc-headers-2.12-1.7.el6.x86_64 (sl)
              glibc-headers = 2.12-1.7.el6
          Available: glibc-headers-2.12-1.7.el6_0.3.x86_64 (sl-security)
              glibc-headers = 2.12-1.7.el6_0.3
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.5.i686 (@sl-security)
              glibc = 2.12-1.7.el6_0.5
          Installed: glibc-2.12-1.7.el6_0.5.x86_64 (installed)
              glibc = 2.12-1.7.el6_0.5
          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
          Available: glibc-2.12-1.7.el6_0.3.i686 (sl-security)
              glibc = 2.12-1.7.el6_0.3
          Available: glibc-2.12-1.7.el6_0.3.x86_64 (sl-security)
              glibc = 2.12-1.7.el6_0.3
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


huh.gif ...any idea?? I'm not so experience using rpm
PMEmail Poster
^
tux99
 Posted: Jul 11 2011, 10:00 AM
Quote Post


SLF Guru
********

Group: Members
Posts: 1289
Member No.: 224
Joined: 28-May 11









IF you try it without the version it should work:

CODE
yum install glibc-devel.i686


This means, yum will simply install the latest version by itself, the specific version I mentioned earlier is probably not the latest.

From the yum man-page:

QUOTE
SPECIFYING PACKAGE NAMES
      A package can be referred to for install, update, remove, list, info etc with any of the following as well as globs of any of the fol-
      lowing:

              name
              name.arch
              name-ver
              name-ver-rel
              name-ver-rel.arch
              name-epoch:ver-rel.arch
              epoch:name-ver-rel.arch

              For example: yum remove kernel-2.4.1-10.i686
                  this will remove this specific kernel-ver-rel.arch.

              Or:          yum list available ’foo*’
                  will list all available packages that match ’foo*’. (The single quotes will keep your shell from expanding the globs.)


I highly recommend reading the yum man-page, it will help you understand package management on SL much better!


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories) - repository mirror: http://linuxsoft.cern.ch/linuxtech/el6/
PM
^
Dididito
 Posted: Jul 11 2011, 10:59 AM
Quote Post


SLF Newbie


Group: Members
Posts: 3
Member No.: 416
Joined: 11-July 11









Now it works.

Thank you very much tux99!!!.

biggrin.gif

Should I edit the post to write [SOLVED] ???? How can I do it??
PMEmail Poster
^
redman
 Posted: Jul 11 2011, 12:56 PM
Quote Post


SLF Admin
********

Group: Admins
Posts: 1977
Member No.: 2
Joined: 8-April 11









QUOTE (Dididito @ Jul 11 2011, 12:59 PM)
Should I edit the post to write [SOLVED] ???? How can I do it??

No, you do not have to do that.
We decided long ago not to use [SOLVED] wink.gif


--------------------
What is SL? - Forum Rules - Info on 3rd Party Repos - How to post images - How to post large text / config files

Desktop: ASUS P5QPL-AM, Intel Dual-Core E6500, 4GB DDR2, ASUS GeForce GT 430 1GB, SL6.5 x86_64
Laptop: ASUS X58L, Intel Dual-Core T3200, 3GB DDR2, Intel GMA X3100, RHEL7.0 x86_64
Test box: Intel S5000PSL, 2x Intel Xeon E5310, 8GB ECC DDR2 FB-DIMM, ASUS GeForce GT 220 1GB, RHEL7 RC x86_64
PMEmail Poster
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll