-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
libstdc++.so.6: version `GLIBCXX_3.4.21' not found #4953
Comments
^ Should fix this error. Please ask installation questions only in the Caffe mailing list. |
The solution provided by farazfazli worked, thank you very much :) |
@farazfazli After searching on forums this worked f me too 👍 Thanks a lot :) |
@farazfazli Thank you really help! |
how about this:
File "/home/tteikhua/anaconda2/lib/python2.7/site-packages/xgboost/init.py", line 11, in |
I have the same problem: |
I have same problems when |
@farazfazli this didn't solve the issue for me:
|
@monajalal check this link. It might solve the problem. |
* updates reticulate-version required, removes r_to_py() references * removes r_to_py() from examples * switches over to vegawidget * impoprts the knit.print method for vegaspec from vegawidget * try again with travis * retry travis * again with travis * try installing twice * another trvais attempt * digging deeper on travis * removing cache on travis * travis: re-cache packages, adds apt-get upgrade * adds `conda install libgcc` according to BVLC/caffe#4953 (comment) * adjusts travis * investigating versions of libstdc++6 according to https://stackoverflow.com/questions/44773296/libstdc-so-6-version-glibcxx-3-4-20-not-found * upgrades libstdc++6 on travis * installs only libstdc++6 * adds additional apt repository to see if we can get a later version of GLIBCXX * tweaks travis * purge, suggested by https://askubuntu.com/questions/777803/apt-relocation-error-version-glibcxx-3-4-21-not-defined-in-file-libstdc-so-6 * adds ppa-purge to travis * trying to get python to downgrade to 3.6.6 * tweaks travis again * try again to downgrade python at travis * tries to force upgrade of pandas * downgrades pandas for travis * try another pandas downgrade * try again
I fixed s similar problem reinstalling the affected program by PIP. (pip install -I ...). Conda broken dependencies are tiring me. |
try:
Try running your code again. If it still does not work try finding the location of libstdc++.so.6. It is usually in /home/user/anaconda3/lib/ and set the LD_LIBRARY_PATH environment variable.
|
conda install libgcc worked for me. |
I did
and it worked. Also make sure your not doing multiprocessing code. For me that gave me pickle errors. |
Thank you, this worked for me |
Will this fix work for github actions? |
add export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/user/anaconda3/lib/ , it worked for me! thanks! |
I was able to fix the issue by running |
Great thanks and this solution really helps me. |
This worked for me |
Hi,
I am learning how to use caffe
I try to run the ipython notebook in the caffe/examples, but it comes to this error:
ImportError: /home/../anaconda2/lib/python2.7/site-packages/zmq/backend/cython/../../../../.././libstdc++.so.6: version
GLIBCXX_3.4.21' not found (required by ../python/caffe/_caffe.so)`I am using virtual machine ubuntu 16.04 and the caffe is cpu only version.
Can some one help with me?^_^
Steps to reproduce
If you are having difficulty building Caffe or training a model, please ask the caffe-users mailing list. If you are reporting a build error that seems to be due to a bug in Caffe, please attach your build configuration (either Makefile.config or CMakeCache.txt) and the output of the make (or cmake) command.
Your system configuration
Operating system:
Compiler:
CUDA version (if applicable):
CUDNN version (if applicable):
BLAS:
Python or MATLAB version (for pycaffe and matcaffe respectively):
The text was updated successfully, but these errors were encountered: