[CMake] /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.5' not found
Chandan Choudhury
iitdckc at gmail.com
Sat Oct 26 01:43:15 EDT 2013
Dear cmake users,
I am having trouble in installing cmake on Linux (Red Hat Enterprise Linux
AS release 4, 2.6.9-42.ELsm) x86_64 machine. Till now I have installed
cmake on many occasion, but never faced such trouble.
I donot have root access to the cluster. So, I am installing it in
non-standard location.
Snippet of .bashrc is as follows:
*export PATH=~/bin/:~/bin/gcc/481/bin:$PATH
export
LD_LIBRARY_PATH=/home/sudip/bin/gcc/481/lib:home/sudip/bin/gcc/481/lib64:$LD_LIBRARY_PATH
export LDFLAGS="-L/home/sudip/bin/gcc/481/lib
-L/home/sudip/bin/gcc/481/lib64"
export CPPFLAGS="-I/home/sudip/bin/gcc/481/include"*
The gcc and g++ commands show the correct version
*[sudip at bose build]$ cc -v
Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/home/sudip/bin/gcc/481/libexec/gcc/x86_64-unknown-linux-gnu/4.8.1/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ./configure --prefix=/home/sudip/bin/gcc/481
--program-suffix=481
Thread model: posix
gcc version 4.8.1 (GCC) *
Now, when I execute ./bootstrap, the following error pops up:
/home/sudip/ckc/cmake-2.8.11/build/Bootstrap.cmk/cmake:
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by
/home/sudip/ckc/cmake-2.8.11/build/Bootstrap.cmk/cmake)
/home/sudip/ckc/cmake-2.8.11/build/Bootstrap.cmk/cmake:
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.5' not found (required by
/home/sudip/ckc/cmake-2.8.11/build/Bootstrap.cmk/cmake)
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
When I issue the following command:
[sudip at bose build]$ strings ~/bin/gcc/481/lib64/libstdc++.so.6 | grep GLIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
*GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBC_2.2.5
GLIBC_2.3
GLIBC_2.3.2
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH
*
I find GLIBCXX_3.4.15. But it is not located in /usr/lib64.
So, how do I pass arguments to bootstrap so that ~/bin/gcc/lib64 is
recognized.
Any insight would be very helpful.
Chandan
--
Chandan kumar Choudhury
NCL, Pune
INDIA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20131026/e6a45c24/attachment.htm>
More information about the CMake
mailing list