[CentOS] libGLU.so.1

Larry Martell larry.martell at gmail.com
Mon Oct 23 20:19:33 UTC 2017


Never mind. Solved this with:

yum install mesa-libGLU-devel.x86_64

On Mon, Oct 23, 2017 at 11:17 PM, Larry Martell <larry.martell at gmail.com> wrote:
> 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
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
> Total
>                                                              2.4 MB/s
> | 7.3 MB  00:00:02
> Running transaction check
> Running transaction test
> Transaction test succeeded
> Running transaction
>   Installing : libgcc-4.8.5-16.el7.i686
>
>                  1/21
>   Installing : nss-softokn-freebl-3.28.3-8.el7_4.i686
>
>                  2/21
>   Installing : glibc-2.17-196.el7.i686
>
>                  3/21
>   Installing : libstdc++-4.8.5-16.el7.i686
>
>                  4/21
>   Installing : pcre-8.32-17.el7.i686
>
>                  5/21
>   Installing : libsepol-2.5-6.el7.i686
>
>                  6/21
>   Installing : libselinux-2.5-11.el7.i686
>
>                  7/21
>   Installing : mesa-libglapi-17.0.1-6.20170307.el7.i686
>
>                  8/21
>   Installing : libpciaccess-0.13.4-3.el7_3.i686
>
>                  9/21
>   Installing : libdrm-2.4.74-1.el7.i686
>
>                 10/21
>   Installing : libXau-1.0.8-2.1.el7.i686
>
>                 11/21
>   Installing : libxcb-1.12-1.el7.i686
>
>                 12/21
>   Installing : libX11-1.6.5-1.el7.i686
>
>                 13/21
>   Installing : libXext-1.3.3-3.el7.i686
>
>                 14/21
>   Installing : libXfixes-5.0.3-1.el7.i686
>
>                 15/21
>   Installing : libXdamage-1.1.4-4.1.el7.i686
>
>                 16/21
>   Installing : libXxf86vm-1.1.4-1.el7.i686
>
>                 17/21
>   Installing : libxshmfence-1.2-1.el7.i686
>
>                 18/21
>   Installing : expat-2.1.0-10.el7_3.i686
>
>                 19/21
>   Installing : mesa-libGL-17.0.1-6.20170307.el7.i686
>
>                 20/21
>   Installing : mesa-libGLU-9.0.0-4.el7.i686
>
>                 21/21
>   Verifying  : libstdc++-4.8.5-16.el7.i686
>
>                  1/21
>   Verifying  : libXdamage-1.1.4-4.1.el7.i686
>
>                  2/21
>   Verifying  : libXext-1.3.3-3.el7.i686
>
>                  3/21
>   Verifying  : mesa-libGL-17.0.1-6.20170307.el7.i686
>
>                  4/21
>   Verifying  : libsepol-2.5-6.el7.i686
>
>                  5/21
>   Verifying  : libX11-1.6.5-1.el7.i686
>
>                  6/21
>   Verifying  : libselinux-2.5-11.el7.i686
>
>                  7/21
>   Verifying  : pcre-8.32-17.el7.i686
>
>                  8/21
>   Verifying  : libgcc-4.8.5-16.el7.i686
>
>                  9/21
>   Verifying  : mesa-libglapi-17.0.1-6.20170307.el7.i686
>
>                 10/21
>   Verifying  : libdrm-2.4.74-1.el7.i686
>
>                 11/21
>   Verifying  : nss-softokn-freebl-3.28.3-8.el7_4.i686
>
>                 12/21
>   Verifying  : glibc-2.17-196.el7.i686
>
>                 13/21
>   Verifying  : mesa-libGLU-9.0.0-4.el7.i686
>
>                 14/21
>   Verifying  : libXfixes-5.0.3-1.el7.i686
>
>                 15/21
>   Verifying  : libpciaccess-0.13.4-3.el7_3.i686
>
>                 16/21
>   Verifying  : libXxf86vm-1.1.4-1.el7.i686
>
>                 17/21
>   Verifying  : libXau-1.0.8-2.1.el7.i686
>
>                 18/21
>   Verifying  : libxshmfence-1.2-1.el7.i686
>
>                 19/21
>   Verifying  : libxcb-1.12-1.el7.i686
>
>                 20/21
>   Verifying  : expat-2.1.0-10.el7_3.i686
>
>                 21/21
>
> Installed:
>   mesa-libGLU.i686 0:9.0.0-4.el7
>
> Dependency Installed:
>   expat.i686 0:2.1.0-10.el7_3               glibc.i686 0:2.17-196.el7
>                   libX11.i686 0:1.6.5-1.el7
> libXau.i686 0:1.0.8-2.1.el7
>   libXdamage.i686 0:1.1.4-4.1.el7           libXext.i686 0:1.3.3-3.el7
>                   libXfixes.i686 0:5.0.3-1.el7
> libXxf86vm.i686 0:1.1.4-1.el7
>   libdrm.i686 0:2.4.74-1.el7                libgcc.i686 0:4.8.5-16.el7
>                   libpciaccess.i686 0:0.13.4-3.el7_3
> libselinux.i686 0:2.5-11.el7
>   libsepol.i686 0:2.5-6.el7                 libstdc++.i686
> 0:4.8.5-16.el7                libxcb.i686 0:1.12-1.el7
>   libxshmfence.i686 0:1.2-1.el7
>   mesa-libGL.i686 0:17.0.1-6.20170307.el7   mesa-libglapi.i686
> 0:17.0.1-6.20170307.el7   nss-softokn-freebl.i686 0:3.28.3-8.el7_4
> pcre.i686 0:8.32-17.el7
> Complete!



More information about the CentOS mailing list