Error while loading shared libraries: libOpenGL.so.0:

Hi Team,

My environment as follows,

Rocky Linux release 8.10 (Green Obsidian)
4.18.0-553.5.1.el8_10.x86_64

Problem:
I’m trying to get the version of my perforce application, but it fails with below errors.

# ./p4v -V
/opt/p4v-2023.3.2495381/bin/p4v.bin: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory

So, Please let know how do resolve this error? Any direction to fix this error would be helpful

When file is not found, one can ask whether any known package would provide it:

dnf provides */libOpenGL.so\*

I bet that it lists libglvnd-opengl for libOpenGL.so.0.
If so, then install that.

1 Like

After installing libglvnd-opengl package it started working. Thanks Jlehtone !!

1 Like