<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">I am having a similar problem to Chandan, except I am trying to establish a dashboard for the intel compilers on RHEL5 x86_64 Linux. I can't seem to successfully point the CMake build to the version of libstdc++ that has the correct interface. Any help on this issue would be greatly appreciated.<br>
<br>On Sat, Oct 26, 2013 at 12:00 PM, <span dir="ltr"><<a href="mailto:cmake-request@cmake.org" target="_blank">cmake-request@cmake.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":o4" style="overflow:hidden">Dear cmake users,<br>
<br>
I am having trouble in installing cmake on Linux (Red Hat Enterprise Linux<br>
AS release 4, 2.6.9-42.ELsm) x86_64 machine. Till now I have installed<br>
cmake on many occasion, but never faced such trouble.<br>
<br>
I donot have root access to the cluster. So, I am installing it in<br>
non-standard location.<br>
Snippet of .bashrc is as follows:<br>
<br>
*export PATH=~/bin/:~/bin/gcc/481/bin:$PATH<br>
export<br>
LD_LIBRARY_PATH=/home/sudip/bin/gcc/481/lib:home/sudip/bin/gcc/481/lib64:$LD_LIBRARY_PATH<br>
export LDFLAGS="-L/home/sudip/bin/gcc/481/lib<br>
-L/home/sudip/bin/gcc/481/lib64"<br>
export CPPFLAGS="-I/home/sudip/bin/gcc/481/include"*<br>
<br>
The gcc and g++ commands show the correct version<br>
<br>
*[sudip@bose build]$ cc -v<br>
Using built-in specs.<br>
COLLECT_GCC=cc<br>
COLLECT_LTO_WRAPPER=/home/sudip/bin/gcc/481/libexec/gcc/x86_64-unknown-linux-gnu/4.8.1/lto-wrapper<br>
Target: x86_64-unknown-linux-gnu<br>
Configured with: ./configure --prefix=/home/sudip/bin/gcc/481<br>
--program-suffix=481<br>
Thread model: posix<br>
gcc version 4.8.1 (GCC) *<br>
<br>
Now, when I execute ./bootstrap, the following error pops up:<br>
<br>
/home/sudip/ckc/cmake-2.8.11/build/Bootstrap.cmk/cmake:<br>
/usr/lib64/libstdc++.so.6: version `GLIBCXX_<span tabindex="0" class="aBn"><span class="aQJ">3.4.15</span></span>' not found (required by<br>
/home/sudip/ckc/cmake-2.8.11/build/Bootstrap.cmk/cmake)<br>
/home/sudip/ckc/cmake-2.8.11/build/Bootstrap.cmk/cmake:<br>
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.5' not found (required by<br>
/home/sudip/ckc/cmake-2.8.11/build/Bootstrap.cmk/cmake)<br>
---------------------------------------------<br>
Error when bootstrapping CMake:<br>
Problem while running initial CMake<br>
---------------------------------------------<br>
<br>
When I issue the following command:<br>
<br>
[sudip@bose build]$ strings ~/bin/gcc/481/lib64/libstdc++.so.6 | grep GLIBC<br>
GLIBCXX_3.4<br>
GLIBCXX_3.4.1<br>
*GLIBCXX_3.4.2<br>
GLIBCXX_3.4.3<br>
GLIBCXX_3.4.4<br>
GLIBCXX_3.4.5<br>
GLIBCXX_3.4.6<br>
GLIBCXX_3.4.7<br>
GLIBCXX_3.4.8<br>
GLIBCXX_3.4.9<br>
GLIBCXX_3.4.10<br>
GLIBCXX_3.4.11<br>
GLIBCXX_3.4.12<br>
GLIBCXX_3.4.13<br>
GLIBCXX_<span tabindex="0" class="aBn"><span class="aQJ">3.4.14</span></span><br>
GLIBCXX_<span tabindex="0" class="aBn"><span class="aQJ">3.4.15</span></span><br>
GLIBCXX_<span tabindex="0" class="aBn"><span class="aQJ">3.4.16</span></span><br>
GLIBCXX_<span tabindex="0" class="aBn"><span class="aQJ">3.4.17</span></span><br>
GLIBCXX_<span tabindex="0" class="aBn"><span class="aQJ">3.4.18</span></span><br>
GLIBCXX_<span tabindex="0" class="aBn"><span class="aQJ">3.4.19</span></span><br>
GLIBC_2.2.5<br>
GLIBC_2.3<br>
GLIBC_2.3.2<br>
GLIBCXX_FORCE_NEW<br>
GLIBCXX_DEBUG_MESSAGE_LENGTH<br>
*<br>
I find GLIBCXX_<span tabindex="0" class="aBn"><span class="aQJ">3.4.15</span></span>. But it is not located in /usr/lib64.<br>
<br>
So, how do I pass arguments to bootstrap so that ~/bin/gcc/lib64 is<br>
recognized.<br>
<br>
Any insight would be very helpful.<br>
<br>
Chandan<br>
--<br>
Chandan kumar Choudhury<br>
NCL, Pune<br>
INDIA</div></blockquote></div><br><br><br clear="all"><div>Izaak Beekman<br>===================================<br>(301)244-9367<br>UMD-CP Visiting Graduate Student<br>Aerospace Engineering<br><a href="mailto:ibeekman@umiacs.umd.edu" target="_blank">ibeekman@umiacs.umd.edu</a><br>
<a href="mailto:ibeekman@umd.edu" target="_blank">ibeekman@umd.edu</a></div>
</div></div>