Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCC v4.9.2 Failure; /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found #31

Closed
wbraswell opened this issue Jul 25, 2015 · 1 comment

Comments

@wbraswell
Copy link
Contributor

This issue DOES exist on the same machine using gcc v4.8.4 instead of v4.9.2.

Full output here: http://pastebin.com/gQQNAm7g

Test program used to trigger this output here: https://github.com/wbraswell/rperl/blob/master/script/development/scalar_test.pl

CentOS 6.6, using the module feature:
$ module load gcc/4.9.2
$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/local/gcc-4.9.2/libexec/gcc/x86_64-unknown-linux-gnu/4.9.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /usr/local/src/gcc-4.9.2/configure --prefix=/usr/local/gcc-4.9.2 --disable-multilib --enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.9.2 (GCC)

$ ./script/development/scalar_test.pl
LOTS OF OUTPUT
...
Finished Build Compile Stage

No such file or directory
Had problems bootstrapping Inline module 'eval_638_4ae4'

Can't load '/home/wbraswell/rperl-latest/_Inline/lib/auto/eval_638_4ae4/eval_638_4ae4.so' for module eval_638_4ae4: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/wbraswell/rperl-latest/_Inline/lib/auto/eval_638_4ae4/eval_638_4ae4.so) at /usr/lib64/perl5/DynaLoader.pm line 200.
at /usr/local/share/perl5/Inline.pm line 533.

@wbraswell
Copy link
Contributor Author

This issue can be solved by recompiling Perl itself using the updated versions of gcc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant