From: Nerd Fool on
Hi -
I am trying to use ffmpeg on my Mandriva 2007.1 system.

When I try to run ffmpeg I am getting the following error.


$ ffmpeg
ffmpeg: symbol lookup error: /usr/lib/libavformat.so.51: undefined
symbol: av_opt_set_defaults

The versions of the software installed are as follows.

$ rpm -q ffmpeg
ffmpeg-0.4.9-3.pre1.7407.10plf2007.1

$ rpm -q libavformats51
libavformats51-0.4.9-3.pre1.7407.10plf2007.1

I am absolutely clueless as to what is happening here. Can somebody
suggest to get this fixed. Thanks in advance.

From: Adam on
Nerd Fool wrote:

> Hi -
> I am trying to use ffmpeg on my Mandriva 2007.1 system.
>
> When I try to run ffmpeg I am getting the following error.
>
>
> $ ffmpeg
> ffmpeg: symbol lookup error: /usr/lib/libavformat.so.51: undefined
> symbol: av_opt_set_defaults
>
> The versions of the software installed are as follows.
>
> $ rpm -q ffmpeg
> ffmpeg-0.4.9-3.pre1.7407.10plf2007.1
>
> $ rpm -q libavformats51
> libavformats51-0.4.9-3.pre1.7407.10plf2007.1
>
> I am absolutely clueless as to what is happening here. Can somebody
> suggest to get this fixed. Thanks in advance.

There a ldconfig command necessary under some circumstances. Perhaps as SU
but do look up its use in the man, "man ldconfig".

Can you confirm that the file exists on your system? With a command like
"find / -xdev -name "libavformat.so.51"