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

Missing GLIBCXX_3.4.30 #13

Open
DarioMarzella opened this issue Oct 28, 2023 · 2 comments
Open

Missing GLIBCXX_3.4.30 #13

DarioMarzella opened this issue Oct 28, 2023 · 2 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@DarioMarzella
Copy link
Member

On some systems this error can occur because of missing libdist libraries:

Traceback (most recent call last):
  File "/home/User/softwares/pdbprep/add_ff_hydrogens.py", line 11, in <module>
    import openmm
  File "/home/User/miniconda3/envs/pdbprep/lib/python3.11/site-packages/openmm/__init__.py", line 24, in <module>
    from openmm.openmm import *
  File "/home/User/miniconda3/envs/pdbprep/lib/python3.11/site-packages/openmm/openmm.py", line 10, in <module>
    from . import _openmm
ImportError: /home/User/miniconda3/envs/pdbprep/lib/python3.11/site-packages/openmm/../../../libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/User/miniconda3/envs/pdbprep/lib/python3.11/site-packages/openmm/../../../libOpenMM.so.8.0)

It can easily be fixed through conda by installing the right library:

conda install -c conda-forge libstdcxx-ng=12

Maybe it's worth to add a note to this in the README

@DarioMarzella DarioMarzella added bug Something isn't working documentation Improvements or additions to documentation labels Oct 28, 2023
@DaniBodor
Copy link
Contributor

DaniBodor commented Feb 6, 2024

I found a different solution before looking at your comment here and added it to the README (see 45cc25a). Your solution is simpler though. Maybe I'll add another note to include both options, in case it doesn't work on all systems (I don't know how to test that).

@DaniBodor
Copy link
Contributor

Next time, feel free to just make the adjustment rather than just opening an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants