Fails with Ubuntu 22.04 LTS
See original GitHub issueAfter upgrading Ubuntu to 22.04 LTS, creating a new conda environment, and installing cadquery with conda install -c conda-forge -c cadquery cadquery=master
and cq-editor with conda install -c cadquery -c conda-forge cq-editor=master
(nothing else installed), cq-editor comes up with a black window and the following messages:
libGL error: MESA-LOADER: failed to open crocus: /usr/lib/dri/crocus_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: crocus
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
libGL error: MESA-LOADER: failed to open crocus: /usr/lib/dri/crocus_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: crocus
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
Investigating I found:
libgl1-mesa-dri is already the newest version (22.0.1-1ubuntu2)
libxrender1 is already the newest version (1:0.9.10-1build4)
sudo apt-get install freeglut3-dev
didn’t helpsudo apt-get install -y libxtst-dev
didn’t helpsudo apt-get install -y libxft-dev
didn’t help
Any assistance would be appreciated.
Issue Analytics
- State:
- Created a year ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
An Ubuntu 22.04 LTS Fix Is Coming For A Very ... - Phoronix
That was happening on several systems across multiple clean installs. It turns out the issue is due to APT and currently propagates itself...
Read more >Ubuntu update to 22.04.1 LTS failed with empty error message
network was overloaded. My guess: The network was overloaded for this task on Saturday. The update was new and probably a lot of...
Read more >Fixing a failed upgrade to Ubuntu 22.04 LTS in recovery mode
Fixing a failed upgrade to Ubuntu 22.04 LTS in recovery mode · Hold the Shift key while booting the PC. · In the...
Read more >Ubuntu 22.04: Beautiful Outside, Ugly Inside!
Ubuntu 22.04 Jammy Jellyfish looks gorgeous but there are some problems Let's have a look at them in this Ubuntu 22.04 review.
Read more >5 Things to Do After Upgrading to Ubuntu 22.04 LTS
Do These 5 Things After Upgrading to Ubuntu 22.04 LTS · Remove old software · Check for AppImage support · Confirm your VPN...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can confirm that the fix by @lorenzncode does work. The PyInstaller builds run fine on 22.04 because libstdc++ is preemptively removed after the build process completes.
Here is a new static build with libstdc++ still bundled if anyone wants to try it.
https://github.com/jmwright/CQ-editor/actions/runs/3259613214
I’ll post this to the Arch Linux issue as well.