-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
ImportError: libGL.so.1: cannot open shared object file: No such file or directory #10
Comments
I was able to workaround this issue on my system by doing:
but it would be nice to get these requirements in the conda package. |
@rsignell-usgs we, conda-forge, considered creating a The problem is that, when conda-forge added the extra dependencies our TL;DR closing this b/c there is not much we can do for now. |
So I should raise this issue with anaconda to get the defaults package fixed? |
Looks like they've been trying! |
It is not really a "fix," more of a policy question. Ship lower level system libs or not. @msarahan and @mingwandroid can comment more on that. Those are new, together and goes together with the new compilers, but I am out of the loop to comment how they'll be used. I do know that @mingwandroid is on top of things and he is trying to accommodate everyone's needs in the best solution possible. PS: however, the fact that the conda solver hinders an alternative |
We do not wish to ship such low level libraries as they interface with end-users' hardware (but we could do better with advising people which system level package manager packages they need to install). mesa-libGL is software only and not appropriate for people who have spent money on a nVidia GTX 1080 or an AMD Vega GPU. You would not be able to do anything graphically intensive with a Qt built in this way (see the upcoming Qt3d for example or even any old QtOpenGL stuff - and some people may want to use shader-based GPGPU to do some computation - though there are far better ways!)
No, we haven't. Those packages are direct repackages of CentOS6's mesa-GL. We do this so that our compilers find these libraries and do not then find (for example) newer system GL libraries that causes the software we build to not work on CentOS6. We call these packages 'Core Dependency Tree' packages and they are never installed at runtime (only ever at build-time). @kalefranz, any comment on the solver issue? From what I know, I really dislike this minimize number of packages (or is it minimize change of number of packages?) heuristic as it naturally prefers less well split up package sets and static libraries over shared ones. |
@mingwandroid thanks for the explanation and sorry for not knowing it by heart now (you already told me that a few times 😬) Actually, I will write that as docs/wiki so we can direct people to it. This questions does comes every now and then. |
@ocefpaf, so what is the preferred solution for someone like me, who is trying to create an environment for JupyterHub running on Google Cloud? |
Get the libs with |
Put the system package install commands into in your Dockerfile or whatever? |
Okay, thanks. I will request that mod in the Dockerfile. |
My attempts to reproduce this failed. I am able to create an env with conda-forge's qt using:
.. so long as I have
|
Our |
I use sudo apt install libgl1-mesa-glx
|
@tyan4g try setting your matplotlib backend to 'agg' |
For future reference, the corresponding paragraph in the conda-forge docs can be found here: https://conda-forge.org/docs/maintainer/knowledge_base.html#libgl |
Prior solution from Stackoverflow failed so resorting to Github Issues: conda-forge/pygridgen-feedstock#10
Prior solution from Stackoverflow failed so resorting to Github Issues: conda-forge/pygridgen-feedstock#10
`conda` can't resolve an OS dependency of `camelot-py` and so `mybinder` deployment requires a custom `Dockerfile` to resolve: conda-forge/pygridgen-feedstock#10 For now remove mybinder until this is resolved
`conda` can't resolve an OS dependency of `camelot-py` and so `mybinder` deployment requires a custom `Dockerfile` to resolve: conda-forge/pygridgen-feedstock#10 For now remove mybinder until this is resolved
If you need libGL for compiling things you should probably use this "devel" one to avoid having to also install a 100 other packages manually when make fails on them: https://anaconda.org/conda-forge/mesa-libgl-devel-cos7-x86_64 |
Removed this # Needed for qgis maybe? conda-forge/pygridgen-feedstock#10 libgl1-mesa-glx # java for java apps openjdk-11-jdk openjdk-11-jre
on Ubuntu 16.04.3 LTS:
The text was updated successfully, but these errors were encountered: