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

MESA loader - pymol is looking for graphics files in the wrong place on Ubuntu 22.04 #246

Open
dc623 opened this issue Aug 8, 2022 · 2 comments

Comments

@dc623
Copy link

dc623 commented Aug 8, 2022

Hi Shrodinger,

Have been using pymol for about 4 years on an older laptop to set up molecular systems for Molecular dynamics, i updated to Ubuntu 22.04 recently, have tried re-installing pymol, but the below issue persists upon opening the program in terminal;

libGL error: MESA-LOADER: failed to open iris: /usr/local/lib/pymol/lib/python3.7/site-packages/pymol/../../../libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /usr/lib/dri/iris_dri.so) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) libGL error: failed to load driver: iris libGL error: MESA-LOADER: failed to open iris: /usr/local/lib/pymol/lib/python3.7/site-packages/pymol/../../../libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /usr/lib/dri/iris_dri.so) (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /usr/local/lib/pymol/lib/python3.7/site-packages/pymol/../../../libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
PyMOL(TM) 2.5.1 - Incentive Product
Copyright (C) Schrodinger, LLC

I know this is likely resolvable quite easily by redirecting pymol to where the files are on ubuntu 22.04, however, i am not an expert on how pymol looks for these files, i have tried moving files to the location pymol is looking for, but it simply creates a new list of errors. but it does remove the previous ones

If nothing else, which file is responsible for Pymol 2.5.1 locating graphics drivers when executing?

Kind Regards,

Dan

@dc623 dc623 changed the title MESA loader - pymol is looking for graphics files in the wrong place on Ubuntu 20.04 MESA loader - pymol is looking for graphics files in the wrong place on Ubuntu 22.04 Aug 8, 2022
@JarrettSJohnson
Copy link
Member

Hm. Not familiar with this error. Seems like this issue is not unique to PyMOL?

By chance have you peeked a the solutions offered here? Seems like this may be related to conda (if you're using it).
https://stackoverflow.com/questions/72110384/libgl-error-mesa-loader-failed-to-open-iris
https://askubuntu.com/questions/1352158/libgl-error-failed-to-load-drivers-iris-and-swrast-in-ubuntu-20-04

@dc623
Copy link
Author

dc623 commented Aug 12, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants