Skip to content

GLIBCXX version not found OR cc1plus: error: unrecognized command line option #47

Answered by gtdang
gtdang asked this question in Q&A
Discussion options

You must be logged in to vote

You need to load a more recent GCC module. The GNU Compiler Collection (GCC) is an optimizing compiler that contains GLIBCXX (The GNU C Library) and cc1plus (compiler for C++).

  • The default version of gcc on Oscar is 4.8.5, which comes installed as part of the OS.
  • You can load a more recent module with the following commands:
# Check for available gcc modules on OSCAR 
$ module avail gcc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ name: gcc*/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc/10.2   gcc/4.7.2  gcc/5.4    gcc/6.3    gcc/8.3    
gcc/4.5.4  gcc/4.9.4  gcc/6.2    gcc/7.2   

# Load a newer version 
$ module load gcc/10.2

Replies: 1 comment

Comment options

gtdang
Apr 13, 2023
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by gtdang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant