Web lists-archives.com

Re: Failed to load libGL




On 16.11.18 04:20, Celejar wrote:
On Thu, 15 Nov 2018 20:41:48 +0100
mb <nc-bierhoma@xxxxxxxxxxxxx> wrote:

On 15.11.18 19:20, Celejar wrote:
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

...

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

Celejar


I am slightly worried because i assume if my specific problem was common
google would provide better hits.

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


Perhaps install libgl1-nvidia-glx (and libgl1-nvidia-glx:i386 if you
need 32 bit support) and see if that helps?

Thank you for spending the time.
Martin

Celejar


it works!
installed through backports.
now i can finally enjoy all of my new hardware.

Thanks, this was a big isue for me.