Web lists-archives.com

Re: Failed to load libGL

On Thu, 15 Nov 2018 17:32:47 +0100
mb <nc-bierhoma@xxxxxxxxxxxxx> wrote:

> Hi!
> I am running a newly installed Debian stretch stable 64Bit.
> When i try to execute a game via wine or playonlinux i get an error like 
> this:
> 0009:err:wgl:init_opengl Failed to load libGL: libGL.so.1: cannot open 
> Shared-Object-File: File not found
> Apparently i miss opengl.
> I did some research on the web and on my system but couldn't find a 
> solution yet.
> More info:
> file
> /usr/lib/x86_64-linux-gnu/libGL.so.1
> exists and points to
> /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu
> I am running the prop. nvidia driver 390.87 installed stretch-backports.

The OpenGL situation can be pretty complicated on Debian. I'm no
expert, but I did recently spend some time wrangling with Debian OpenGL
packages. What is the output of: 'dpkg -S libGL.so.1 | grep ^libgl1'?

On my Sid system (a laptop with Optimus graphics - an integrated Intel
GPU + an Nvidia one), I have:

~$ dpkg -S libGL.so.1 | grep ^libgl1
libgl1-nvidia-glx:i386: /usr/lib/i386-linux-gnu/nvidia/current/libGL.so.1
libgl1:i386: /usr/lib/i386-linux-gnu/libGL.so.1.7.0
libgl1:amd64: /usr/lib/x86_64-linux-gnu/libGL.so.1
libgl1-nvidia-glx:amd64: /usr/lib/x86_64-linux-gnu/nvidia/current/libGL.so.1
libgl1:amd64: /usr/lib/x86_64-linux-gnu/libGL.so.1.7.0
libgl1:i386: /usr/lib/i386-linux-gnu/libGL.so.1