Wednesday, January 20, 2010

x86_64 Linux Error: gnu/stub-32.h missing error and solution

x86_64 Linux Error: gnu/stub-32.h missing error and solution
x86_64 Linux Error: gnu/stub-32.h missing error and solution

by Vivek Gite · 2 comments

Q. I'm getting the following error while compiling application under CentOS / RHEL / Fedora Linux 64 bit edition:

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

No such file or directory

How do I fix this error?

A. You need to install the glibc-devel package. It contains the object files necessary for developing programs which use the standard C libraries (which are used by nearly all programs). If you are developing programs which will use the standard C libraries, your system needs to have these standard object files available in order to create the executables.

Install glibc-devel if you are going to develop programs which will use the standard C libraries.
# yum -y install glibc-devel
Now again try to recompile application.


No comments:

Post a Comment