LibGLU.so.1

Home » CentOS » LibGLU.so.1
CentOS 4 Comments

I have a C++ program that I have been running on RedHat 6 and I want to move to CentOS 7. When I run it on the CentOS 7 system it fails with:

error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory

I did this, but still have no libGLU. I did a find of the entire system for ‘*libGLU*’ and nothing.

bash-4.2# yum whatprovides libGLU.so.1
Loaded plugins: fastestmirror, ovl Loading mirror speeds from cached hostfile
* base: repos-va.psychz.net
* epel: mirrors.mit.edu
* extras: mirrors.rit.edu
* updates: mirror.wdc1.us.leaseweb.net mesa-libGLU-9.0.0-4.el7.i686 : Mesa libGLU library Repo : base Matched from:
Provides : libGLU.so.1

bash-4.2# yum install mesa-libGLU-9.0.0-4.el7.i686
Loaded plugins: fastestmirror, ovl base

| 3.6 kB 00:00:00
epel/x86_64/metalink

| 16 kB 00:00:00
extras

| 3.4 kB 00:00:00
updates

| 3.4 kB 00:00:00
updates/7/x86_64/primary_db

| 3.6 MB 00:00:00
Loading mirror speeds from cached hostfile
* base: repos-va.psychz.net
* epel: mirrors.mit.edu
* extras: mirror.cs.pitt.edu
* updates: mirror.trouble-free.net Resolving Dependencies
–> Running transaction check
—> Package mesa-libGLU.i686 0:9.0.0-4.el7 will be installed
–> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4) for package:
mesa-libGLU-9.0.0-4.el7.i686
–> Processing Dependency: libstdc++.so.6(CXXABI_1.3) for package:
mesa-libGLU-9.0.0-4.el7.i686
–> Processing Dependency: libstdc++.so.6 for package:
mesa-libGLU-9.0.0-4.el7.i686
–> Processing Dependency: libm.so.6(GLIBC_2.1) for package:
mesa-libGLU-9.0.0-4.el7.i686
–> Processing Dependency: libm.so.6(GLIBC_2.0) for package:
mesa-libGLU-9.0.0-4.el7.i686
–> Processing Dependency: libm.so.6 for package: mesa-libGLU-9.0.0-4.el7.i686
–> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package:
mesa-libGLU-9.0.0-4.el7.i686
–> Processing Dependency: libgcc_s.so.1 for package:
mesa-libGLU-9.0.0-4.el7.i686
–> Processing Dependency: libc.so.6(GLIBC_2.11) for package:
mesa-libGLU-9.0.0-4.el7.i686
–> Processing Dependency: libGL.so.1 for package: mesa-libGLU-9.0.0-4.el7.i686
–> Running transaction check
—> Package glibc.i686 0:2.17-196.el7 will be installed
–> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-196.el7.i686
–> Processing Dependency: libfreebl3.so for package: glibc-2.17-196.el7.i686
—> Package libgcc.i686 0:4.8.5-16.el7 will be installed
—> Package libstdc++.i686 0:4.8.5-16.el7 will be installed
—> Package mesa-libGL.i686 0:17.0.1-6.20170307.el7 will be installed
–> Processing Dependency: libxshmfence.so.1 for package:
mesa-libGL-17.0.1-6.20170307.el7.i686
–> Processing Dependency: libxcb.so.1 for package:
mesa-libGL-17.0.1-6.20170307.el7.i686
–> Processing Dependency: libxcb-sync.so.1 for package:
mesa-libGL-17.0.1-6.20170307.el7.i686
–> Processing Dependency: libxcb-present.so.0 for package:
mesa-libGL-17.0.1-6.20170307.el7.i686
–> Processing Dependency: libxcb-glx.so.0 for package:
mesa-libGL-17.0.1-6.20170307.el7.i686
–> Processing Dependency: libxcb-dri3.so.0 for package:
mesa-libGL-17.0.1-6.20170307.el7.i686
–> Processing Dependency: libxcb-dri2.so.0 for package:
mesa-libGL-17.0.1-6.20170307.el7.i686
–> Processing Dependency: libselinux.so.1 for package:
mesa-libGL-17.0.1-6.20170307.el7.i686
–> Processing Dependency: libglapi.so.0 for package:
mesa-libGL-17.0.1-6.20170307.el7.i686
–> Processing Dependency: libexpat.so.1 for package:
mesa-libGL-17.0.1-6.20170307.el7.i686
–> Processing Dependency: libdrm.so.2 for package:
mesa-libGL-17.0.1-6.20170307.el7.i686
–> Processing Dependency: libXxf86vm.so.1 for package:
mesa-libGL-17.0.1-6.20170307.el7.i686
–> Processing Dependency: libXfixes.so.3 for package:
mesa-libGL-17.0.1-6.20170307.el7.i686
–> Processing Dependency: libXext.so.6 for package:
mesa-libGL-17.0.1-6.20170307.el7.i686
–> Processing Dependency: libXdamage.so.1 for package:
mesa-libGL-17.0.1-6.20170307.el7.i686
–> Processing Dependency: libX11.so.6 for package:
mesa-libGL-17.0.1-6.20170307.el7.i686
–> Processing Dependency: libX11-xcb.so.1 for package:
mesa-libGL-17.0.1-6.20170307.el7.i686
–> Running transaction check
—> Package expat.i686 0:2.1.0-10.el7_3 will be installed
—> Package libX11.i686 0:1.6.5-1.el7 will be installed
—> Package libXdamage.i686 0:1.1.4-4.1.el7 will be installed
—> Package libXext.i686 0:1.3.3-3.el7 will be installed
—> Package libXfixes.i686 0:5.0.3-1.el7 will be installed
—> Package libXxf86vm.i686 0:1.1.4-1.el7 will be installed
—> Package libdrm.i686 0:2.4.74-1.el7 will be installed
–> Processing Dependency: libpciaccess.so.0 for package:
libdrm-2.4.74-1.el7.i686
—> Package libselinux.i686 0:2.5-11.el7 will be installed
–> Processing Dependency: libsepol(x86-32) >= 2.5-6 for package:
libselinux-2.5-11.el7.i686
–> Processing Dependency: libsepol.so.1(LIBSEPOL_1.0) for package:
libselinux-2.5-11.el7.i686
–> Processing Dependency: libsepol.so.1 for package: libselinux-2.5-11.el7.i686
–> Processing Dependency: libpcre.so.1 for package: libselinux-2.5-11.el7.i686
—> Package libxcb.i686 0:1.12-1.el7 will be installed
–> Processing Dependency: libXau.so.6 for package: libxcb-1.12-1.el7.i686
—> Package libxshmfence.i686 0:1.2-1.el7 will be installed
—> Package mesa-libglapi.i686 0:17.0.1-6.20170307.el7 will be installed
—> Package nss-softokn-freebl.i686 0:3.28.3-8.el7_4 will be installed
–> Running transaction check
—> Package libXau.i686 0:1.0.8-2.1.el7 will be installed
—> Package libpciaccess.i686 0:0.13.4-3.el7_3 will be installed
—> Package libsepol.i686 0:2.5-6.el7 will be installed
—> Package pcre.i686 0:8.32-17.el7 will be installed
–> Finished Dependency Resolution

Dependencies Resolved
=================================================================================================================================================================== Package Arch
Version Repository
Size
===================================================================================================================================================================Installing:
mesa-libGLU i686
9.0.0-4.el7 base
198 k Installing for dependencies:
expat i686
2.1.0-10.el7_3 base
80 k glibc i686
2.17-196.el7 base
4.2 M
libX11 i686
1.6.5-1.el7 base
610 k libXau i686
1.0.8-2.1.el7 base
29 k libXdamage i686
1.1.4-4.1.el7 base
20 k libXext i686
1.3.3-3.el7 base
39 k libXfixes i686
5.0.3-1.el7 base
18 k libXxf86vm i686
1.1.4-1.el7 base
18 k libdrm i686
2.4.74-1.el7 base
151 k libgcc i686
4.8.5-16.el7 base
106 k libpciaccess i686
0.13.4-3.el7_3 base
27 k libselinux i686
2.5-11.el7 base
165 k libsepol i686
2.5-6.el7 base
284 k libstdc++ i686
4.8.5-16.el7 base
314 k libxcb i686
1.12-1.el7 base
227 k libxshmfence i686
1.2-1.el7 base
7.2 k mesa-libGL i686
17.0.1-6.20170307.el7 base
173 k mesa-libglapi i686
17.0.1-6.20170307.el7 base
61 k nss-softokn-freebl i686
3.28.3-8.el7_4 updates
199 k pcre i686
8.32-17.el7 base
420 k

Transaction Summary
===================================================================================================================================================================Install 1 Package (+20 Dependent packages)

Total download size: 7.3 M
Installed size: 23 M
Is this ok [y/d/N]: y Downloading packages:
(1/21): libXdamage-1.1.4-4.1.el7.i686.rpm

| 20 kB 00:00:00
(2/21): libXext-1.3.3-3.el7.i686.rpm

| 39 kB 00:00:00
(3/21): expat-2.1.0-10.el7_3.i686.rpm

| 80 kB 00:00:00
(4/21): libXxf86vm-1.1.4-1.el7.i686.rpm

| 18 kB 00:00:00
(5/21): libXfixes-5.0.3-1.el7.i686.rpm

| 18 kB 00:00:00
(6/21): libXau-1.0.8-2.1.el7.i686.rpm

| 29 kB 00:00:00
(7/21): libdrm-2.4.74-1.el7.i686.rpm

| 151 kB 00:00:00
(8/21): libpciaccess-0.13.4-3.el7_3.i686.rpm

| 27 kB 00:00:00
(9/21): libX11-1.6.5-1.el7.i686.rpm

| 610 kB 00:00:00
(10/21): libselinux-2.5-11.el7.i686.rpm

| 165 kB 00:00:00
(11/21): libgcc-4.8.5-16.el7.i686.rpm

| 106 kB 00:00:00
(12/21): libxshmfence-1.2-1.el7.i686.rpm

| 7.2 kB 00:00:00
(13/21): libxcb-1.12-1.el7.i686.rpm

| 227 kB 00:00:00
(14/21): libsepol-2.5-6.el7.i686.rpm

| 284 kB 00:00:00
(15/21): mesa-libglapi-17.0.1-6.20170307.el7.i686.rpm

| 61 kB 00:00:00
(16/21): libstdc++-4.8.5-16.el7.i686.rpm

| 314 kB 00:00:00
(17/21): mesa-libGLU-9.0.0-4.el7.i686.rpm

| 198 kB 00:00:00
(18/21): nss-softokn-freebl-3.28.3-8.el7_4.i686.rpm

| 199 kB 00:00:00
(19/21): mesa-libGL-17.0.1-6.20170307.el7.i686.rpm

| 173 kB 00:00:00
(20/21): pcre-8.32-17.el7.i686.rpm

| 420 kB 00:00:00
(21/21): glibc-2.17-196.el7.i686.rpm

| 4.2 MB 00:00:02
——————————————————————————————————————————————————————

4 thoughts on - LibGLU.so.1

  • I’m trying to download the rpm that will install this library. I do not see it on the CentOS site. Any help would be appreciated.

    Art Edwards

  • Hello Art,

    > I’m trying to download the rpm that will install this library. I do not see
    > it on the CentOS site. Any help would be appreciated.

    Google led me here:
    https://rpmfind.net/linux/rpm2html/search.php?query=libGLU.so.1

    another way might be:
    yum whatprovides libGLU.so.1

    this would display:
    Last metadata expiration check: 0:01:20 ago on Mon 27 Apr 2020 06:05:15
    AM CEST. mesa-libGLU-9.0.0-15.el8.i686 : Mesa libGLU library Repo : AppStream Matched from:
    Provide : libGLU.so.1

    so this should install the file:
    yum install mesa-libGLU

    I hope this helps,
    Timotheus