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

Running python run_alphafold_test. py encountered ImportError: /lib64/libc.so.6: version `GLIBC_2.28' not found #126

Closed
Kangfengyuuuu opened this issue Nov 26, 2024 · 7 comments
Labels
setup Problem with installation or setting things up third party tool Issue with a third party tool

Comments

@Kangfengyuuuu
Copy link

Kangfengyuuuu commented Nov 26, 2024

Hello everyone, I have been using online tutorials to install AlphaFold 3 using Conda, and then running python run_alphafold_test.py. I encountered the problem:

ImportError: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /home/kangfengyu/miniconda3/envs/alphafold3/lib/python3.11/site-packages/rdkit/../rdkit.libs/libboost_filesystem-47d2d140.so.1.85.0)

After checking many tutorials, I was afraid that the Linux would crash. Now I don't know how to solve it. Has anyone encountered the same problem?

@Augustin-Zidek Augustin-Zidek added setup Problem with installation or setting things up third party tool Issue with a third party tool labels Nov 26, 2024
@Augustin-Zidek
Copy link
Collaborator

This looks like a problem with your Conda setup (rather than anything AlphaFold-specific), take a look at rdkit/rdkit#4756.

@vivek-rd
Copy link

I faced a similar issue (GLIBC_2.xx version not found) in a different project. If you installed the dependencies in an existing conda environment, try installing the dependencies in a new conda environment. This helped me resolve it.

@Kangfengyuuuu
Copy link
Author

Kangfengyuuuu commented Nov 27, 2024

I faced a similar issue (GLIBC_2.xx version not found) in a different project. If you installed the dependencies in an existing conda environment, try installing the dependencies in a new conda environment. This helped me resolve it.

I now know that the program called libc.so.6 in Linux, which is incorrect. It should have called the dynamic library in conda, but I couldn't find libc.so.6 in my conda environment, and I downloaded GCC in a new conda environment, but I couldn't find libc.so.6 either. May I ask how you specifically solved it? There are many solutions online about libstd c++. so. 6, but I haven't found any specific way to solve libc. so. 6.

@Kangfengyuuuu
Copy link
Author

This looks like a problem with your Conda setup (rather than anything AlphaFold-specific), take a look at rdkit/rdkit#4756.

I couldn't find a solution to libc. so. 6, so I tried installing Rdkit=2024.3.2 and ran run_alphafold_test. py without any more errors.
Does installing Rdkit=2024.3.2 have a significant impact on the prediction results of Alphafold 3?

@vivek-rd
Copy link

vivek-rd commented Nov 27, 2024

I faced a similar issue (GLIBC_2.xx version not found) in a different project. If you installed the dependencies in an existing conda environment, try installing the dependencies in a new conda environment. This helped me resolve it.

I now know that the program called libc.so.6 in Linux, which is incorrect. It should have called the dynamic library in conda, but I couldn't find libc.so.6 in my conda environment, and I downloaded GCC in a new conda environment, but I couldn't find libc.so.6 either. May I ask how you specifically solved it? There are many solutions online about libstd c++. so. 6, but I haven't found any specific way to solve libc. so. 6.

In my case, I started with a completely new conda environment. I did not install libc directly in the new environment and I just installed all the required dependencies and it resolved this issue.

@Kangfengyuuuu
Copy link
Author

Kangfengyuuuu commented Nov 27, 2024

I faced a similar issue (GLIBC_2.xx version not found) in a different project. If you installed the dependencies in an existing conda environment, try installing the dependencies in a new conda environment. This helped me resolve it.

I now know that the program called libc.so.6 in Linux, which is incorrect. It should have called the dynamic library in conda, but I couldn't find libc.so.6 in my conda environment, and I downloaded GCC in a new conda environment, but I couldn't find libc.so.6 either. May I ask how you specifically solved it? There are many solutions online about libstd c++. so. 6, but I haven't found any specific way to solve libc. so. 6.

In my case, I started with a completely new conda environment. I did not install libc directly in the new environment and I just installed all the required dependencies and it resolved this issue.

Thank you for your answer! I solved the error of GLIBC-2.28 'not found' by reducing the version of rdkit. I will try reinstalling all dependencies in the new conda environment again.

@JeffersonPark1304
Copy link

JeffersonPark1304 commented Nov 28, 2024

@Kangfengyuuuu I faced the same issue. The following step solved my issue. Hopefully, it will help you

conda install libgcc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
setup Problem with installation or setting things up third party tool Issue with a third party tool
Projects
None yet
Development

No branches or pull requests

4 participants