LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 12-08-2009, 07:22 AM   #16
aleppos
LQ Newbie
 
Registered: Aug 2005
Location: syria
Posts: 9

Original Poster
Rep: Reputation: 0

i build glibc 2.10 on CentOS and it's work fine, but when i try to build glibc 2.11 i realize need newer version of gcc so i install gcc (GCC) 4.5.0 20091003 (experimental) but when i try make glibc 2.11 my server not respond on this line

Code:
gcc ../sysdeps/ieee754/dbl-64/dosincos.c -c -std=gnu99 -fgnu89-inline -O2 -
Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-unwind-tables -g -
Wstrict-prototypes     -Wno-uninitialized -D__NO_MATH_INLINES -
D__LIBC_INTERNAL_MATH_INLINES -I../include -
I/root/aleppos/libraries/glibc_build/math -
I/root/aleppos/libraries/glibc_build -I../sysdeps/x86_64/elf -
I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -
I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -
I../nptl/sysdeps/pthread -I../sysdeps/pthread -
I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -
I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -
I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -
I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -
I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -
I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../nptl/sysdeps/x86_64 -
I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -
I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -
I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports  -I.. -
I../libio -I.  -D_LIBC_REENTRANT -include ../include/libc-symbols.h   -
DNOT_IN_libc=1 -DIS_IN_libm=1    -
o /root/aleppos/libraries/glibc_build/math/dosincos.o -MD -MP -
MF /root/aleppos/libraries/glibc_build/math/dosincos.o.dt -
MT /root/aleppos/libraries/glibc_build/math/dosincos.o
when i post a bug on glibc i know this i'm using a broken compiler.

so i build gcc 4.4.2, and when i install glibc 2.11 i get this problem "Offending line of ldd output: libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b510e3c3000)" ..

and after i install gcc i get this problem:
gcc: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
so i need to make this to let gcc work
ln -svf /usr/lib/gcc/x86_64-redhat-linux/lib64/libgcc_s.so.1 /lib64/libgcc_s.so.1
ln -svf /lib64/libgcc_s.so.1 /lib64/libgcc_s.so

so i think my problem in libgcc_s
 
Old 12-08-2009, 01:07 PM   #17
aleppos
LQ Newbie
 
Registered: Aug 2005
Location: syria
Posts: 9

Original Poster
Rep: Reputation: 0
i solved this problem by reinstall gcc using --disable-shared


thanks for every one


but when i install java i get this message
Code:
./install.sfx.3997: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Failed to extract the files.  Please refer to the Troubleshooting section of
the Installation Instructions on the download page for more information.

Last edited by aleppos; 12-08-2009 at 01:10 PM.
 
Old 12-08-2009, 03:52 PM   #18
John VV
Guru
 
Registered: Aug 2005
Posts: 12,811

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
why not install the openjava-sdk that is in the cent repos and be done with it .
Code:
yum search java
then install it

http://wiki.centos.org/AdditionalResources/Repositories
some extras-- might be able to use
http://centos.karan.org/
http://mharris.ca/mharris-yumrepo.html

Last edited by John VV; 12-08-2009 at 04:20 PM.
 
  


Reply

Tags
gcc, glibc, libc, libc6


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
problem in installing glibc 2.7 tanmoy_tiger Linux - Software 3 08-03-2011 12:45 PM
Problem installing glibc 2.10.1 dokness Linux - Software 1 09-01-2009 01:23 PM
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 03:22 PM
Having Problem in Installing glibc 2.3.5 Big D@ddy Linux - Software 2 04-18-2005 03:05 AM
A problem in the GLIBC-2.3.2 installing chamberlain Linux - General 7 06-12-2004 06:12 AM


All times are GMT -5. The time now is 09:12 PM.

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