[MPlayer-users] Re: error while loading shared libraries: libmp3lame.so.0

Richard Qi qi.richard at gmail.com
Wed Mar 7 01:37:55 CET 2007


Thanks for Phil and Lvo's reply.

Since I only want to use mencoder, I tried: env
LD_PRELOAD=$HOME/apps/lib/libmp3lame.so.0 $HOME/apps/mplayer/bin/mencoder
........ It works very well. But is there any way to setup the ENVIRONMENT
variable such that I do not need run "env" every time. Thanks.

Richard

On 3/6/07, Richard Qi <qi.richard at gmail.com> wrote:
>
> Hi everyone,
>
> As I posted before, I installed mplayer (the lastest SVN version) with
> libmp3lame support into a shared server (Red Hat Enterprise Linux 4).
> However, when I performed the mencoder command, I got this error message:
> "error while loading shared libraries: libmp3lame.so.0: cannot open shared
> object file: No such file or directory". Someone suggested modifying
> /etc/ld.so.conf and running /sbin/ldconfig, but I am using a shared server,
> so I do not have the permission to change that file. Is there any way that I
> can solve this problem. Thank you very much in advanced!
>
> Richard.
>
>
>



More information about the MPlayer-users mailing list