[MEncoder-users] Re: error while loading shared libraries: libmp3lame.so.0
Phil Ehrens
phil at slug.org
Wed Mar 7 01:49:51 CET 2007
Create a local wrapper and call it instead of mencoder:
echo 'env LD_PRELOAD=$HOME/apps/lib/libmp3lame.so.0 $HOME/apps/mplayer/bin/mencoder' >my-mencoder
chmod 0700 my-mencoder
./my-mencoder ...
Richard Qi wrote:
> 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.
> >
> >
> >
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>
--
Phil Ehrens <phil at slug.org> | Fun stuff:
The SilverLake Linux Users Group | http://www.ralphmag.org
3428 Winslow Drive | http://www.tokyotosho.com
Silverlake, CA 90026 | http://www.slug.org
More information about the MEncoder-users
mailing list