schrodinger / pymol-open-source

Open-source foundation of the user-sponsored PyMOL molecular visualization system.
https://pymol.org/
Other
1.2k stars 281 forks source link

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

Open dc623 opened 2 years ago

dc623 commented 2 years ago

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: versionGLIBCXX_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

JarrettSJohnson commented 2 years ago

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 commented 2 years ago

Hi jarrett,

I have seen it cross referenced with other programs such as chimera and other programs with a similar concept to yours. its fine, I was hoping it was something youd seen before. Basically i replace the MESA loader files into a place pymol can see them, but then it needs extra files as a result. i guess ill have to sit here and manually give it what it wants!

Kind Regards,

Dan


From: Jarrett Johnson @.> Sent: 11 August 2022 14:29 To: schrodinger/pymol-open-source @.> Cc: Dan Carey @.>; Author @.> Subject: Re: [schrodinger/pymol-open-source] MESA loader - pymol is looking for graphics files in the wrong place on Ubuntu 22.04 (Issue #246)

CAUTION: This email originated from outside of CCCU. Do not click links or open attachments unless you recognise the sender and know the content is safe.

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-irishttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F72110384%2Flibgl-error-mesa-loader-failed-to-open-iris&data=05%7C01%7Cdan.carey%40canterbury.ac.uk%7C66fa43aa95df4c166a3308da7b9d8f46%7C0320b2da22dd4dab8c216e644ba14f13%7C0%7C0%7C637958213910219504%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=e0IIQ%2FGD%2Bu76vDwk8d4A8lZLVRWnc36B%2BhfyPCTVh6U%3D&reserved=0 https://askubuntu.com/questions/1352158/libgl-error-failed-to-load-drivers-iris-and-swrast-in-ubuntu-20-04https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Faskubuntu.com%2Fquestions%2F1352158%2Flibgl-error-failed-to-load-drivers-iris-and-swrast-in-ubuntu-20-04&data=05%7C01%7Cdan.carey%40canterbury.ac.uk%7C66fa43aa95df4c166a3308da7b9d8f46%7C0320b2da22dd4dab8c216e644ba14f13%7C0%7C0%7C637958213910219504%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=IAYbltwXSLfLK8aIVe0wbAOfYRhgNEv7EB4T7aQIvnU%3D&reserved=0

— Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fschrodinger%2Fpymol-open-source%2Fissues%2F246%23issuecomment-1211991589&data=05%7C01%7Cdan.carey%40canterbury.ac.uk%7C66fa43aa95df4c166a3308da7b9d8f46%7C0320b2da22dd4dab8c216e644ba14f13%7C0%7C0%7C637958213910219504%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=YFoS6%2FbS%2FEiqyhFxp%2FpfnSgOBPZQ7q8bnIG%2FG%2BpafU4%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA2IQZFA4LVSY6WHTQDNTK2TVYT54RANCNFSM554VMKNA&data=05%7C01%7Cdan.carey%40canterbury.ac.uk%7C66fa43aa95df4c166a3308da7b9d8f46%7C0320b2da22dd4dab8c216e644ba14f13%7C0%7C0%7C637958213910219504%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=vxukCpUzLwjtEhnAHqe4wREaSbyE4xEaaOAZAN6VAFw%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>