Hello,

I am building cmake on RHEL6.  I need a version higher than the one
that comes with RHEL6.

After doing bootstrap and make, I get an error with make install:
> /home/sm/software/cmake/cmake-2.8.7/Bootstrap.cmk/cmake: 
> /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by 
> /home/sm/software/cmake/cmake-2.8.7/Bootstrap.cmk/cmake)
make: *** [cmake_check_build_system] Error 1


Now, RHEL6 comes with gcc 4.4.6.  I have installed 4.6.3, and if I do
> strings /usr/local/lib64/libstdc++.so.6 | grep GLIBC
I do see GLIBCXX_3.4.15.

I have set my LD_LIBRARY_PATH to the local lib:
> echo $LD_LIBRARY_PATH
/usr/local/lib64

(prior to starting the build, I set PATH, LIBRARY_PATH,
LD_LIBRARY_PATH to the new gcc and its libraries, all in /usr/local.

So, what else can I do so that cmake uses that library instead of the
one in /usr/lib64?

I prefer not to uninstall the system gcc.

Thank you,

Mirko
--

Powered by www.kitware.com

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

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

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

Reply via email to