[packman] [ffmpeg, OpenSuse] undefined symbol: av_lfg_init

Cristian Morales Vega cmorve69 at yahoo.es
Wed Nov 19 22:20:39 CET 2008

2008/11/19  <trashing at gmx.net>:
> Hello list user,
> I've a problem with the latest ffmpeg and libavcodec installation of the
> OpenSuse 11.0 packman repository.
> I've installed:
> libavcodec52-
> libavutil49-
> ffmpeg-
> and a lot more packages.
> Calling 'ffplay' gives the error 'ffplay: error while loading shared
> libraries: libavcodec.so.51: cannot open shared object file: No such file or
> directory'. That's right because there is no dependency from ffmpeg-0.4.9 to
> libavcodes51-0.4.9. After installing the missing package:
> libavcodec51-0.4.9svn-20080906.pm.0
> I get the error message 'ffplay: symbol lookup
> error: /usr/lib/libavcodec.so.51: undefined symbol: av_lfg_init'.
> What's wrong with the listed packages? Have anybody a suggestion?

$ rpm -qf /usr/bin/ffplay
$ readelf -d /usr/bin/ffplay | grep avcodec
 0x0000000000000001 (NEEDED)             Shared library: [libavcodec.so.52]

If you really have ffmpeg- then
probably you also have another package that has overwrote your
ffplay... probably the equivalent from the VideoLAN repo?
Note that zypper overwrites files without warning:

More information about the Packman mailing list