[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-0.4.9.15866svn-20081117.pm.2304
> libavutil49-0.4.9.15866svn-20081117.pm.2304
> ffmpeg-0.4.9.15866svn-20081117.pm.2304
>
> 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
ffmpeg-0.4.9.15866svn-20081117.pm.2304
$ readelf -d /usr/bin/ffplay | grep avcodec
 0x0000000000000001 (NEEDED)             Shared library: [libavcodec.so.52]

If you really have ffmpeg-0.4.9.15866svn-20081117.pm.2304 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:
https://bugzilla.novell.com/show_bug.cgi?id=411574




More information about the Packman mailing list