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

**URL:** <https://forums.rockylinux.org/t/error-while-loading-shared-libraries-libopengl-so-0/14776>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-8\
**Created:** [June 24, 2024, 10:25am UTC](https://forums.rockylinux.org/t/error-while-loading-shared-libraries-libopengl-so-0/14776 "2024-06-24T10:25:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohanss08](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@mohanss08](https://forums.rockylinux.org/u/mohanss08)\
**Post date:** [June 24, 2024, 10:25am UTC](https://forums.rockylinux.org/t/error-while-loading-shared-libraries-libopengl-so-0/14776/1 "2024-06-24T10:25:35Z")

</div>

Hi Team,

My environment as follows,

```auto
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.

```auto
# ./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

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [June 24, 2024, 10:43am UTC](https://forums.rockylinux.org/t/error-while-loading-shared-libraries-libopengl-so-0/14776/2 "2024-06-24T10:43:02Z")

</div>

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

```auto
dnf provides */libOpenGL.so\*

```

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

---

<div class="post-metadata">

**Author:** ![mohanss08](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@mohanss08](https://forums.rockylinux.org/u/mohanss08)\
**Post date:** [June 24, 2024, 11:48am UTC](https://forums.rockylinux.org/t/error-while-loading-shared-libraries-libopengl-so-0/14776/3 "2024-06-24T11:48:58Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [August 23, 2024, 11:49am UTC](https://forums.rockylinux.org/t/error-while-loading-shared-libraries-libopengl-so-0/14776/4 "2024-08-23T11:49:38Z")

</div>

Closed on August 23, 2024, 11:49am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
