Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-10-2003, 06:49 PM   #1
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
Question Problem Updating glibc 2.2.5-34 to 2.3.2

Im trying to update my acutal glibc to an up to date version
If you want to know why its just for the challenge
when I compiled i got the folliwing error

[root:/home/final/glibc-build]# ../glibc-2.3.2/configure

everything goes fine until that

running configure fragment for ../glibc-2.3.2/sysdeps/i386/elf
running configure fragment for ../glibc-2.3.2/sysdeps/unix/sysv/linux
checking for egrep... (cached) grep -E
checking installed Linux kernel header files... 2.0.10 or later
*** On GNU/Linux systems it is normal to compile GNU libc with the
*** `linuxthreads' add-on. Without that, the library will be
*** incompatible with normal GNU/Linux systems.
*** If you really mean to not use this add-on, run configure again
*** using the extra parameter `--disable-sanity-checks'.

after i got this error i tried the following command(i specified the path to the source of my kernel and then It got worst

../glibc-2.3.2/configure --with-headers=/usr/src/linux-2.4.18-3/

checking size of long double... 12
running configure fragment for ../glibc-2.3.2/sysdeps/i386/elf
running configure fragment for ../glibc-2.3.2/sysdeps/unix/sysv/linux
checking for egrep... (cached) grep -E
checking installed Linux kernel header files... TOO OLD!
configure: error: GNU libc requires kernel header files from
Linux 2.0.10 or later to be installed before configuring.
The kernel header files are found usually in /usr/include/asm and
/usr/include/linux; make sure these directories use files from
Linux 2.0.10 or later. This check uses <linux/version.h>, so
make sure that file was built correctly when installing the kernel
header files. To use kernel headers not from /usr/include/linux, use the configure option --with-headers.

I even tryed to make a symbolic link of my version.h located in my /usrc/src/linux-2.4-18-3 into /usr/include/linux

Im out of idea im asking for your help
My os is
Redhat 7.3 2.4-18-3
Old 10-10-2003, 07:53 PM   #2
Registered: Jul 2003
Location: Massachusetts
Distribution: LFS 4.0, Windows XP, Ubuntu 10.01, Gentoo 2.6.32-r7, OpenSolaris
Posts: 100

Rep: Reputation: 15
I believe you need to install a few other libraries along with glibc. The error you posted suggests that you need glibc-linuxthreads. It's available from
Old 10-17-2003, 05:22 AM   #3
LQ Newbie
Registered: Sep 2003
Location: China
Posts: 25

Rep: Reputation: 15
I know where the problem is! Just configure like this:
../glibc-2.3.2/configure --enable-add-ons=linuxthreads


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating glibc - from source sundialsvcs Linux - Software 3 08-29-2005 11:41 PM
updating glibc-2.3.2-11.9 to glibc-2.3.4 under rh9 bloodiestmarry Linux - Software 5 02-27-2005 05:43 AM
updating glibc problem overlord73 Linux - Software 3 02-11-2005 05:51 AM
Problem in glibc updating urkhaa1975 Fedora 3 02-03-2004 07:37 AM
Updating glibc KennyG944 Linux - General 3 03-25-2001 10:19 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration