[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.8

Upgrading glibc on a redhat 9 (shrike)

Asked by ciuly in Red Hat Linux, Linux

I need to upgrade my glibc from 2.3.2 to minimum 2.3.4 in order to install lazarus&fpc.
I am a noob when it comes to such operations (well, when it's not working)
I spent over 3 hours trying to figure out YUM, since I read that does it faster and without hassle.
I ran yum update glibc and yum upgrade glibc but It just didn't find any packages.
I also edited yum.conf which now looks like:

********************************
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
 
[base]
name=Red Hat Linux $releasever - $basearch - Base
baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/$releasever/$basearch/
 
[freshrpmsde2]
name=freshrpms
baseurl=ftp://ftp.de2.freshrpms.net/pub/linux/freshrpms/ayo/redhat/9/i386/os/
 
[updates]
name=Red Hat Linux $releasever - Updates
baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/$releasever/
 
[NewRPMS]
name=Fedora Core 1 NewRPMS.sunsite.dk
baseurl=http://newrpms.sunsite.dk/apt/redhat/en/i386/fc1
 
[ayo]
name=ayo
baseurl=http://ayo.freshrpms.net/redhat/9/i386/os/
 
[dulug]
name=dulug
baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/9/i386/

*****************************

but same results. my yum version is 2.0.7. I tried installing latest stable (3.5 if my memory servers me correctly), but it complained about python not finding yum package and after a few minute sof googleing for the cause, I gave up. yum not finding yum? makes no sense to me.

so then I got pissed and decided to do it the old fashion way: source tarball, configure/make/make install. I tried this with 2.3.4 and 2.3.5 and in both cases, after over 30 minutes of compilation I got the following errors:

/root/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.text+0x1ba): In function `pthread_initialize':
/root/glibc-2.3.5/linuxthreads/pthread.c:549: undefined reference to `_res'
/root/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.text+0xd12): In function `__pthread_reset_main_thread':
/root/glibc-2.3.5/linuxthreads/pthread.c:1145: undefined reference to `_errno'
/root/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.text+0xd1e):/root/glibc-2.3.5/linuxthreads/pthread.c:1146: undefined reference to `_h_errno'
/root/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.text+0xd30):/root/glibc-2.3.5/linuxthreads/pthread.c:1147: undefined reference to `_res'
/root/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.data.rel+0x1b8): In function `pthread_initialize':
/root/glibc-2.3.5/linuxthreads/pthread.c:549: undefined reference to `_errno'
/root/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.data.rel+0x1c0):/root/glibc-2.3.5/linuxthreads/pthread.c:549: undefined reference to `_h_errno'
/root/glibc-build/linuxthreads/libpthread_pic.a(pthread.os)(.data.rel+0x1c8):/root/glibc-2.3.5/linuxthreads/pthread.c:553: undefined reference to `_res'
collect2: ld returned 1 exit status
make[2]: *** [/root/glibc-build/linuxthreads/libpthread.so] Error 1
make[2]: Leaving directory `/root/glibc-2.3.5/linuxthreads'
make[1]: *** [linuxthreads/others] Error 2
make[1]: Leaving directory `/root/glibc-2.3.5'
make: *** [all] Error 2

(configure was run with: ../glibc-2.3.5/configure --enable-add-ons=linuxthreads --disable-sanity-checks . I disabled saniyu checks to get rid of the prefix warning/error since doing an upgrade would not have any issues if installing over old glibc (at least that's what I'm thinking))

I already wasted the weekend over this. I need a solution for upgrading my glibc which works for my system.
if that means doing something to yum, or installing apt or whatever, so be it, but I need it to work. the fact that it works on centos 4 or whatever is not helping me. chaning the OS is not an option.
what I don't get is why in the world are the sources not compiling. I never had this before.
[+][-]09/21/08 09:18 AM, ID: 22535158Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Red Hat Linux, Linux
Sign Up Now!
Solution Provided By: arnold
Participating Experts: 1
Solution Grade: A
 
[+][-]09/21/08 10:26 AM, ID: 22535387Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/21/08 12:24 PM, ID: 22535813Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/22/08 12:20 AM, ID: 22537933Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/22/08 05:19 AM, ID: 22539284Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/22/08 08:05 AM, ID: 22540687Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/22/08 11:11 AM, ID: 22542406Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/22/08 12:03 PM, ID: 22542858Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/22/08 12:09 PM, ID: 22542906Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/22/08 01:22 PM, ID: 22543695Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/22/08 02:09 PM, ID: 22544163Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/22/08 02:12 PM, ID: 22544192Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/22/08 02:26 PM, ID: 22544322Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/22/08 02:53 PM, ID: 22544572Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/28/08 11:31 AM, ID: 22592084Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 / EE_QW_EXPERT_20070906