[Mplayer-users] stopid question?

Artur Zaprzala artur.zaprzala at talex.com.pl
Fri Jun 22 12:57:22 CEST 2001


Martin Aumueller wrote:
> 
> On 21. Juni 2001 Gábor Lénárt wrote:
> > On Thu, Jun 21, 2001 at 01:45:55PM -0700, Matt Moore wrote:
> > > i installed mplayer and all seemed to go well.
> > >
> > > after install i used the command "mplayer" and it says
> > > "bash: mplayer: command not found "
> > >
> > > any ideas?
> >
> > I hope it's a joke ...
> 
> Hi!
> 
> If the binary mplayer is actually in your $PATH and has its executable bits
> set then the most likely reason for this error to occur is that the needed
> dynamic linker is not present on your system. Perhaps /lib/ld-linux.so.1 or
> /lib/ld-linux.so.2 is missing. And then you would get this seemingly strange
> error...

To determine if it is a library problem use ldd to print shared library dependencies.

Example:
$ whereis mplayer
mplayer: /usr/local/bin/mplayer
$ ldd /usr/local/bin/mplayer
        libm.so.6 => /lib/i686/libm.so.6 (0x40028000)
        libtermcap.so.2 => /lib/libtermcap.so.2 (0x4004c000)
        libdl.so.2 => /lib/libdl.so.2 (0x40050000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40054000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40134000)
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40142000)
        libc.so.6 => /lib/i686/libc.so.6 (0x40157000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
 
If one of these libraries is missing, you will get very misleading message:
bash: mplayer: command not found


Artur Zaprzala

_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list