安装ORACLE817后glibc和GCC的恢复

安装ORACLE817后glibc和GCC的恢复

我是按照http://www.linuxeden.com/edu/doctext.php?docid=2125
介绍的方法安装的。
ORACLE一切正常。但我其他需要用到GCC编译的程序不能通过编译,
在安装ORACLE之前是OK的。
我怀疑是安装ORACLE过程中的补丁改变了GCC或其相关库。
请问怎么解决?
      
Restore you binutils!
If necessary bypass some lines in .bash_profiles like this:
# export LD_ASSUME_KERNEL=2.2.5
# export LDEMULATION=elf_i386_glibc21
# . /usr/i386-glibc21-linux/bin/i386-glibc21-linux-env.sh

Gook Luck!      
我试过了,还是不行。错误信息和以前一样。如下:
[root@LSRV1 freeradius-0.3]# make
gmake[1]: Entering directory `/root/freeradius-0.3'
Making all in libltdl...
gmake[2]: Entering directory `/root/freeradius-0.3/libltdl'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/root/freeradius-0.3/libltdl'
Making all in src...
gmake[2]: Entering directory `/root/freeradius-0.3/src'
gmake[3]: Entering directory `/root/freeradius-0.3/src'
Making all in lib...
gmake[4]: Entering directory `/root/freeradius-0.3/src/lib'
gcc  -g -O2 -D_REENTRANT -Wall -D_GNU_SOURCE -DNDEBUG -D_LIBRADIUS -I../include -c dict.c
/tmp/cca1KeWL.s: Assembler messages:
/tmp/cca1KeWL.s:510: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:510: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:510: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:650: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:650: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:650: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:654: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:654: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:654: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:771: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:771: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:771: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:775: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:775: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:775: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:956: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:956: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:956: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:963: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:963: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:963: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:1101: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1101: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1101: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:1105: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1105: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1105: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:1112: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1112: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1112: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:1119: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1119: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1119: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:1124: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1124: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1124: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:1128: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1128: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1128: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:1139: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1139: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1139: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:1143: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1143: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1143: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:1148: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1148: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1148: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:1152: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1152: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1152: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:1155: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1155: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1155: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:1165: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1165: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1165: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:1170: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1170: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1170: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:1174: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1174: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1174: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:1181: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1181: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1181: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:1185: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1185: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1185: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:1190: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1190: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1190: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:1194: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1194: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1194: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:1197: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1197: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:1197: Error: Rest of line ignored. First ignored character is `,'.
/tmp/cca1KeWL.s:2236: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:2236: Warning: Unrecognized .section attribute: want a,w,x
/tmp/cca1KeWL.s:2236: Error: Rest of line ignored. First ignored character is `,'.
gmake[4]: *** [dict.o] Error 1
gmake[4]: Leaving directory `/root/freeradius-0.3/src/lib'
gmake[3]: *** [common] Error 1
gmake[3]: Leaving directory `/root/freeradius-0.3/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/root/freeradius-0.3/src'
gmake[1]: *** [common] Error 1
gmake[1]: Leaving directory `/root/freeradius-0.3'
make: *** [all] Error 2
[root@LSRV1 freeradius-0.3]#      
Oracle需要的是兼容环境,在安装过程中不会对计算机本身的glibc产生变动,找找其他原因吧!      
在ORACLE安装过程中曾经打了许多补丁包,那应该就是更改了
系统的GLIBC,你可以看看我第一篇文章中贴出的URL      
那些是兼容包,如果你完全安装RH的话,那些包是自动装上的,不是补丁包,和系统glibc是没有关系的!被替代的只有binutils!      
多谢,原来就是binutils的问题,
安装ORACLE时把binutils的版本降低了,我从源盘上安装了一个
新的版本。
原来编译不过的地方现在通过了,不过最后编译还是有问题,
肯定安装过程还改动了其他的系统包。      
现在完全可以了,其他的问题是我配置的问题。
系统问题只和binutils包有关。      
谢谢你的这篇帖子!!呵呵      
狼同志,能详细的说说你的哪些系统配置造成你的gcc编译出错吗?、