我升级过glibc,升级成功后用GCC编译任何C文件都得到这样的错误:
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld:/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../libc.so: file format not recognized; treating as linker script
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld:/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../libc.so:5: syntax error
collect2: ld returned 1 exit status
请教高手们怎么解决啊??急
prinse 于 2009-10-27 12:29:30发表:
ldconfig 试一下……