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

error in ubuntu libstdc++.so.6: version `GLIBCXX_3.4.20' not found #1043

Closed
albahnsen opened this issue Mar 24, 2016 · 18 comments
Closed

error in ubuntu libstdc++.so.6: version `GLIBCXX_3.4.20' not found #1043

albahnsen opened this issue Mar 24, 2016 · 18 comments

Comments

@albahnsen
Copy link

Trying to install xgboost I have the following error.

OSError: /home/al/anaconda3/lib/python3.5/site-packages/scipy/sparse/../../../../libstdc++.so.6: versionGLIBCXX_3.4.20' not found (required by /home/al/anaconda3/lib/python3.5/site-packages/xgboost-0.4-py3.5.egg/xgboost/libxgboost.so)`

I'm running
Python 3.5.1 |Anaconda 2.4.0 (64-bit)| (default, Dec 7 2015, 11:16:01) [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux

I already follow the normal steps for installing. git clone ... -> make -> python setup.py install

@albahnsen
Copy link
Author

Apparently I was able to install it by using a clean environment. Not sure whats wrong but it works.

@shawnwanderson
Copy link

Same issue.
conda install libgcc
Solved it for me.

@minhpth
Copy link

minhpth commented Dec 11, 2016

@shawnwanderson: I tried many ways, all of them didn't work. But your method works perfectly. Thanks!

@ShadowWalker5
Copy link

Solved for me too ! Thanks

@rteja1113
Copy link

@shawnwanderson , works like magic !, Thank You

@wjmj
Copy link

wjmj commented Mar 20, 2017

@shawnwanderson Solved my problem!Thanks

@ArnabBir
Copy link

Thanks 👍

@jjmmg
Copy link

jjmmg commented Mar 28, 2017

@shawnwanderson It works

@kliushenkov
Copy link

Not work

@abrocod
Copy link

abrocod commented Apr 15, 2017

This is awesome ! @shawnwanderson

@tyrinwu
Copy link

tyrinwu commented May 8, 2017

@shawnwanderson I love you.

@MayankSharma-MS
Copy link

@shawnwanderson you saved my day. thank you so much.

@rdhara
Copy link

rdhara commented Jun 2, 2017

@shawnwanderson Thank you - works perfectly!

@ChangJungWu
Copy link

@shawnwanderson Thank you so much! Even on a virtue machine (Host:WIn10, Guest Ubuntu 16), it still works perfectly fine.

@mkrishan
Copy link

Thanks-works perfectly

@dandanua
Copy link

conda install libgcc=5.2.0 works for me

@nn-ww
Copy link

nn-ww commented Jan 25, 2018

Thank you so much....

@tslmy
Copy link

tslmy commented Jul 5, 2018

I have seen multiple users suggesting a simple conda install libgcc, but none worked for me. However, @dandanua 's solution (for those who don't wanna scroll up: conda install libgcc=5.2.0) actually did the trick -- it seems that the default version installed by conda install libgcc is too high to work.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests