[Adv Q] Using alternative set of libs for vlc
On Tue, 16 Sep 2008 01:27:11 -0700, Joël wrote:
>> When I play whatever XviD avi files with vlc, I get:
>>  main decoder error: no suitable decoder module for fourcc
>> . . .
> I have the same problem.
> I don't know for you but it is related to debianmultimedia repository.
> There's a message on the home page explaining the situation. To resolve
> it, you have to downgrade the paquets in order to have the official
> debian versions. Then you will have to remove debian multimedia
> repository from your sources.list. I don't know if there's a better
I can't live without the goodies from debian multimedia, and I think it
is impossible to persuade Christian to add vlc back to his repo. This
leavs me no choice but try to install the required libs for vlc in a
Christian said in his home page, "If you want to use vlc and friends you
need to downgrade libavc* packages to the official packages."
I only have two libavc* packages:
$ dpkg -l | grep libavc
ii libavc1394-0 0.5.3-1+b1 control IEEE 1394 audio/video devices
ii libavcodec51 3:20080706-0.2 library to encode decode multimedia
I think only the libavcodec51 is important for my case, so I install it,
the official Debian packages, into my existing /pkg directory:
dpkg-deb -x libavcodec51_0.svn20080206-12_i386.deb /pkg/libavcodec51/
but when I use
LD_LIBRARY_PATH=/pkg/libavcodec51/usr/lib vlc ...
to invoke vlc, I still get the same error.
This is really strange, can someone tell what step I've done wrong?
I'm sure the libs can be found:
$ LD_LIBRARY_PATH=/pkg/libavcodec51/usr/lib ldd /usr/bin/vlc
. . .
libogg.so.0 => /usr/lib/libogg.so.0 (0xb7c21000)
libavcodec.so.51 => /pkg/libavcodec51/usr/lib/i686/cmov/
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb75e6000)
. . .
Tong (remove underscore(s) to reply)