<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all,
<br>
<br>
I am really stumped on this problem. I googled and could not find
any
<br>
solution. Here is the problem. I compiled and installed
<br>
glibc-2.5-20090518 in a local directory with gcc version 4.1.2. I
<br>
compiled glibc-2.5 because I wanted to test glibc-2.5 on gcc first
<br>
llvm-gcc. However, after I installed glibc, llvm-gcc does not work
<br>
any more. It reported this error message:
<br>
<br>
<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>root/tools/llvm/llvm-gcc/install/bin<span
class="moz-txt-tag">/</span></i>../libexec/gcc/i686-pc-linux-gnu/4.2.1/cc1:
<br>
/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required
<br>
by <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>root/tools/llvm/llvm-gcc/install/bin<span
class="moz-txt-tag">/</span></i>../libexec/gcc/i686-pc-linux-gnu/4.2.1/cc1)<br>
<br>
It says that the GLIBCXX_3.4.9 does not work with libstdc++.so.6. I
did not install glibc in /usr/lib. /usr/lib/libstdc++.so.6 should
not be affected. <br>
Also rpm shows that the version is:
<br>
<br>
[root@localhost gold]# rpm -q glibc
<br>
glibc-2.5-34.el5_3.1
<br>
<br>
Any advice will be appreciated. Thanks a lot in advance. <br>
<br>
Bin <br>
</body>
</html>