[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.5' not found
From:       Bill Hoffman <bill.hoffman () kitware ! com>
Date:       2013-10-29 19:19:25
Message-ID: 52700A3D.6070006 () kitware ! com
[Download RAW message or body]

On 10/29/2013 2:33 PM, Izaak Beekman wrote:
> 
> 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.
> 
> On Sat, Oct 26, 2013 at 12:00 PM, <cmake-request@cmake.org
> <mailto:cmake-request@cmake.org>> wrote:
> 
> 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.

This does not sound like a cmake issue...   Sounds like a compiler 
install issue.

Things to look for:

- What compiler is being used by the bootstrap script?
- Are the c and c++ compilers consistent?
- You can control which compiler is used via CC and CXX env vars.

Seems really strange to me that you have to do this stuff:

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 compiler should work without any of that being set.

bootstrap is pretty simple.  It builds a minimal version of cmake, then 
runs that cmake to do a full build of cmake.  The cmake you are getting 
out of the initial build is failing to run because it has some sort of 
GLIBC mismatch in it.


-Bill

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: \
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information \
on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at \
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic