Mar 25, 2008

So true!

On #MPlayer, a guy wanted to play 3GP files, he is using debian..
So he installed amr codecs from source.
As u may know it installs in /usr/local, so we said to him to (re)compile MPlayer.
All done, but when he tried to play any kind of file he gets:
./mplayer: error while loading shared libraries: libamrnb.so.3: cannot open shared object file: No such file or directory
OK.. we said him to edit ld.so.conf and if /usr/local/lib isn't there.. add it.
After he added it the same problem...
I suggested to run MPlyer like this: LD_LIBRARY_PATH=/usr/lib:/usr/local/lib ./mplayer file
It works...
Thoughts:
<iive> portwolf: debian/ubuntu are kind of apple products. If you use apt-get everything is just fine.
<iive> but if you try to step out of the known path you are getting in a world of pain.

That's true!