missing lib file
sktseer at gmail.com
Sun Jul 17 18:27:34 UTC 2011
On 07/17/2011 06:49 AM, R Kimber wrote:
> I'm trying to run a script that calls mplayer
> mplayer -cache 2048 -bandwidth 9999999 -playlist ""$URL"" -vc null -vo null
> -ao pcm:fast:waveheader:file="$NAME".wav
> but I get a message saying error while loading shared libraries:
> libgtk-1.2.so.0: cannot open shared object file: No such file or directory
> Synaptic says that libgtk1.2 has been has been obsoleted.
> Is there anything I can do to make the script work?
> - Richard
Usually Ubuntu provided mplayer versions are compiled without the
--enable-gui flag which means that mplayer won't have a dependency on
GTK or GTK2.0. I'm on 10.10 and I don't get that error message when
executing that command from your script in a terminal. Try putting
-nogui as your first commandline argument or see if your source provides
a non-gui enabled version.
More information about the ubuntu-users