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
import xgboost OSError:version `GOMP_4.0' not found #1786
Comments
How are you rebuilding xgboost ? |
hello,thanks for your cares,the problem has been resolved.the key point is that i installed anaconda and the libgomp.so.1 and libstdc++.so.6 file in anaconda seems out of time,lacking GOMP_4.0 and some other files,but in Ubuntu 16.04 the corresponding files is new enough ,the solution is to make some link files to update the corresponding files in anaconda |
Ah, awesome. Do close the issue so that it doesn't come up as unresolved On 21-Nov-2016 11:57 am, "yinshurman" notifications@github.com wrote:
|
@yinshurman would you mind posting the solution steps! |
step 1 : use the following commands to check whether the libgomp.so.1 file in anconda contains the required version GOMP_4.0 (replace the path by your own in all the steps) : |
It worked. Thank you so much @yinshurman |
@yinshurman ....can you please tell me step by step i am not find out the solution for the following error: import xgboost |
Yes it works. These steps perfectly worked for libeemd and pyeemd package. Thanks |
Is there any way to update the libgomp lib in anaconda |
Maybe you can try |
@yinshurman Thanks a lot. It works! |
@yinshurman Thanks a lot. It works |
I experienced a similar issue, fixed it by updating the anaconda gcc from 4.8.5 to 5.4.0:
|
@yinshurman I had problems with libgomp.so.1 and libstdc++.so.6 and it worked for both. Thank you. |
`GOMP_4.0' not found
you can now close the terminal, and start a new one, LD_LIBRARY_PATdoes not need to persist, as conda's env. got required libraries. |
For bugs or installation issues, please provide the following information.
The more information you provide, the more easily we will be able to offer
help and advice.
Environment info
compiled successfully,
anaconda envirnment ,
and use "conda list" can show "xgboost " .
but when import xgboost show the error: OSError: /home/yin/anaconda3/bin/../lib/libgomp.so.1: version `GOMP_4.0' not found (required by /home/yin/anaconda3/lib/python3.5/site-packages/xgboost-0.6-py3.5.egg/xgboost/libxgboost.so)
Operating System: Ubunutu kylin 16.10
Compiler:
Package used (python/R/jvm/C++): python
xgboost
version used: latestIf installing from source, please provide
git rev-parse HEAD
)OSError: /home/yin/anaconda3/bin/../lib/libgomp.so.1: version `GOMP_4.0' not found (required by /home/yin/anaconda3/lib/python3.5/site-packages/xgboost-0.6-py3.5.egg/xgboost/libxgboost.so)
If you are using python package, please provide:
anaconda
xgboost
if you are not installing from sourceIf you are using R package, please provide
sessionInfo()
xgboost
if you are not installing from sourceSteps to reproduce
What have you tried?
1.rebuild the xgboost,doesnt work
The text was updated successfully, but these errors were encountered: