[MPlayer-dev-eng] Re: [PATCH] print appropriate error when failing to open a file

The Wanderer inverseparadox at comcast.net
Fri Dec 16 07:17:47 CET 2005


Rich Felker wrote:

> On Fri, Dec 16, 2005 at 12:05:23AM +0300, Vladimir Mosgalin wrote:
> 
>> Hi Rich Felker!

>> About using "huge bloated replacements" - you know, in my build 
>> mplayer's size is 8.5mb. No, it isn't static - it's dynamically
>> linked to 65 libaries, and doesn't use gui at all.
> 
> That is incredibly bloated. Here's a more sane setup:

...compared to my own install it's fairly tiny; I've got an 18MB MPlayer
binary, with 79 lines from 'ldd `which mplayer`'. All of that comes, so
far as I can tell, merely from a time when I went out of my way to
acquire and 'enable' (in terms of autodetection) every library MPlayer
was capable of taking advantage of - mostly for the sake of completism,
I don't remember what half of the associated features are anymore. (The
ones I recognize I do know I still want to keep around, but...)

> brightrain:~$ ls -l /usr/local/bin/mplayer
> -rwxr-xr-x   1 root     root      6051280 Dec  9 22:07 /usr/local/bin/mplayer*
> brightrain:~$ ldd /usr/local/bin/mplayer
>         libmp3lame.so.0 => /usr/local/lib/libmp3lame.so.0 (0x40017000)
>         libncurses.so.5 => /usr/lib/libncurses.so.5 (0x400af000)
>         libcdda_interface.so.0 => /usr/local/lib/libcdda_interface.so.0 (0x400ed000)
>         libcdda_paranoia.so.0 => /usr/local/lib/libcdda_paranoia.so.0 (0x40102000)
>         libnsl.so.1 => /lib/libnsl.so.1 (0x4010c000)
>         libgif.so.4 => /usr/local/lib/libgif.so.4 (0x40122000)
>         libXext.so.6 => /usr/X11/lib/libXext.so.6 (0x4012a000)
>         libX11.so.6 => /usr/X11/lib/libX11.so.6 (0x40136000)
>         libpthread.so.0 => /lib/libpthread.so.0 (0x401d5000)
>         libdl.so.2 => /lib/libdl.so.2 (0x401e7000)
>         libm.so.6 => /lib/libm.so.6 (0x401eb000)
>         libc.so.6 => /lib/libc.so.6 (0x40208000)
>         libSM.so.6 => /usr/X11/lib/libSM.so.6 (0x402e4000)
>         libICE.so.6 => /usr/X11/lib/libICE.so.6 (0x402ed000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Looks like you've left out quite a bit, even though there are a couple
of libraries in there which aren't even in *my* list.

Out of sheer, unrelated bepuzzlement - why in the world does a purely
video-window/plaintext-output program like MPlayer need to use
libncurses??

-- 
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.




More information about the MPlayer-dev-eng mailing list