[CMake] bootstrap help

John Vines (CISD/HPCD) jvines at arl.army.mil
Tue Apr 7 12:59:28 EDT 2009


All,
    I am attempting to build cmake 2.6.3 on Red Hat linux 4.  I have 
built my own version of gcc 4.2, the system has 3.4.6, and am attempting 
to build cmake pointing to my version of libstdc++.so.6.  The system 
does not have a previous version of cmake so I'm using the bootstrap to 
build cmake. 
    I have my gcc4.2 libraries (/<myhome>/local/lib64) in my 
LD_LIBRARY_PATH but cmake still cannot find the libstdc++.so.6 library.  
What am I missing?

Here is the message I'm getting:
g++  -I/home/jvines/cmake-2.6.3/Source   
-I/home/jvines/cmake-2.6.3/Bootstrap.cmk  cmake.o cmakemain.o 
cmakewizard.o cmCommandArgumentLexer.o cmCommandArgumentParser.o 
cmCommandArgumentParserHelper.o cmDepends.o cmDependsC.o 
cmDocumentationFormatter.o cmDocumentationFormatterText.o cmPolicies.o 
cmProperty.o cmPropertyMap.o cmPropertyDefinition.o 
cmPropertyDefinitionMap.o cmMakeDepend.o cmMakefile.o 
cmExportFileGenerator.o cmExportInstallFileGenerator.o 
cmInstallDirectoryGenerator.o cmGeneratedFileStream.o 
cmGlobalGenerator.o cmLocalGenerator.o cmInstallGenerator.o 
cmInstallExportGenerator.o cmInstallFilesGenerator.o 
cmInstallScriptGenerator.o cmInstallTargetGenerator.o cmSourceFile.o 
cmSourceFileLocation.o cmSystemTools.o cmVersion.o 
cmFileTimeComparison.o cmGlobalUnixMakefileGenerator3.o 
cmLocalUnixMakefileGenerator3.o cmMakefileExecutableTargetGenerator.o 
cmMakefileLibraryTargetGenerator.o cmMakefileTargetGenerator.o 
cmMakefileUtilityTargetGenerator.o cmBootstrapCommands.o cmCommands.o 
cmTarget.o cmTest.o cmCustomCommand.o cmDocumentVariables.o 
cmCacheManager.o cmListFileCache.o cmComputeLinkDepends.o 
cmComputeLinkInformation.o cmOrderDirectories.o cmComputeTargetDepends.o 
cmComputeComponentGraph.o cmExprLexer.o cmExprParser.o 
cmExprParserHelper.o cmListFileLexer.o Directory.o Glob.o 
RegularExpression.o SystemTools.o ProcessUNIX.o String.o System.o -o cmake
/home/jvines/cmake-2.6.3/Bootstrap.cmk/cmake: 
*/usr/lib64/libstdc++.so.6*: version `GLIBCXX_3.4.5' not found (required 
by /home/jvines/cmake-2.6.3/Bootstrap.cmk/cmake)


Thanks in advance.
John


More information about the CMake mailing list