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

libGL error: failed to load driver #15

Open
JintaoLee-Roger opened this issue Jul 25, 2024 · 1 comment
Open

libGL error: failed to load driver #15

JintaoLee-Roger opened this issue Jul 25, 2024 · 1 comment

Comments

@JintaoLee-Roger
Copy link
Owner

For example:
"libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so:"
"libGL error: failed to load driver: iris"

This error is not caused by the CIGVis itself but is likely due to a version conflict with the shared libraries. More specifically, it may be caused by an unusual setting in the environment variable LD LIBRARY PATH (or DYLD LIBRARY PATH on macOS), which results in the incorrect shared library being loaded first.

@JintaoLee-Roger
Copy link
Owner Author

JintaoLee-Roger commented Jul 25, 2024

You can try to solve this by two methods.

First, set:

export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6

Otherwise, you can check your .bashrc or .zshrc file, and comment out the lines like export LD_LIBRARY_PATH... (DYLD_LIBRARY_PATH on MacOS). Then, run source ~/.bashrc or source ~/.zshrc.

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

1 participant