Thursday, March 3, 2011

mplayer issues (libglut)

So you think that you have installed mplayer....

which mplayer
/usr/bin/mplayer


... but when you fire it up you get an err like this

mplayer: error while loading shared libraries: libglut.so.3: cannot open shared object file: No such file or directory

All you have to do is install another package. A missing dependency, perhaps?

yum search glut
Not loading "blacklist" plugin, as it is disabled
Not loading "whiteout" plugin, as it is disabled
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Config time: 0.026
Yum Version: 3.2.28
Setting up Package Sacks
pkgsack time: 0.571
rpmdb time: 0.000
tags time: 0.006
================================ Matched: glut =================================
freeglut.i686 : A freely licensed alternative to the GLUT library
freeglut-devel.i686 : Freeglut developmental libraries and header files
mingw32-freeglut.noarch : Fedora MinGW alternative to the OpenGL Utility Toolkit
: (GLUT)
ghc-GLUT.i686 : Haskell GLUT library
ghc-GLUT-devel.i686 : Haskell GLUT library development files
ghc-GLUT-prof.i686 : Profiling libraries for Haskell GLUT library
hugs98-glut.i686 : GLUT package for Hugs98
taoframework-freeglut.i686 : The Tao Framework for Mono, freeglut Bindings
taoframework-freeglut-devel.i686 : The Tao Framework for Mono, freeglut Bindings
: development files
PyOpenGL.noarch : Python bindings for OpenGL
alleggl.i686 : OpenGL support library for Allegro
fltk.i686 : C++ user interface toolkit
perl-OpenGL.i686 : Perl OpenGL bindings
rubygem-ruby-opengl.i686 : OpenGL Interface for Ruby



Just install freeglut.i686 and you are good to go!

No comments:

Post a Comment