Your message dated Wed, 21 Jan 2009 09:44:14 +0100
with message-id <[email protected]>
and subject line Re: Bug#512466: libavcodec52: Undefined symbol av_lfg_init
has caused the Debian Bug report #512466,
regarding libavcodec52: Undefined symbol av_lfg_init
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
512466: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512466
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libavcodec52
Version: 3:0.svn20090110-1
Severity: normal

I installed gstreamer0.10-ffmpeg and libavcodec52 from experimental since I
needed those for development (yes I know it can be risky doing so on a 
system running testing), however now there seems to be a linkage to a missing
symbol.

If I run:
 gst-inspect-0.10 speex
(actually the name of the element isn't important for this to happen)

I get:

(gst-inspect-0.10:7389): GStreamer-WARNING **: Failed to load plugin 
'/usr/lib/gstreamer-0.10/libgstffmpeg.so': /usr/lib/libavcodec.so.52: undefined 
symbol: av_lfg_init

If I do:
objdump -T /usr/lib/libavcodec.so.52 | grep lfg_init

I get:
0000000000000000      DF *UND*  00000000000000a6              av_lfg_init

I'm not sure if this is gstreamer-0.10-ffmpeg linking to undefined stuff or
the library libavcodec52 that fails to export symbols properly.

Also, I think this looks suspicious:

$ ldd /usr/lib/gstreamer-0.10/libgstffmpeg.so 
 linux-vdso.so.1 =>  (0x00007fffb2bfe000)
 libavutil.so.49 => /usr/lib/libavutil.so.49 (0x00007f7baa5e9000)
 libavcodec.so.52 => /usr/lib/libavcodec.so.52 (0x00007f7ba9c84000)
 libavformat.so.52 => /usr/lib/libavformat.so.52 (0x00007f7ba99e1000)
 libgstbase-0.10.so.0 => /usr/lib/libgstbase-0.10.so.0 (0x00007f7ba97ab000)
 libgstreamer-0.10.so.0 => /usr/lib/libgstreamer-0.10.so.0 (0x00007f7ba94dd000)
 libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f7ba9298000)
 libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f7ba8fd6000)
 libpthread.so.0 => /lib/libpthread.so.0 (0x00007f7ba8dba000)
 libc.so.6 => /lib/libc.so.6 (0x00007f7ba8a66000)
 libm.so.6 => /lib/libm.so.6 (0x00007f7ba87e3000)
 libz.so.1 => /usr/lib/libz.so.1 (0x00007f7ba85cc000)
 libfaad.so.0 => /usr/lib/libfaad.so.0 (0x00007f7ba838a000)
 libgsm.so.1 => /usr/lib/libgsm.so.1 (0x00007f7ba817d000)
 libschroedinger-1.0.so.0 => /usr/lib/libschroedinger-1.0.so.0 
(0x00007f7ba7f06000)
 libtheora.so.0 => /usr/lib/libtheora.so.0 (0x00007f7ba7cc3000)
 libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007f7ba78eb000)
 libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007f7ba76c0000)
 libavcodec.so.51 => /usr/lib/libavcodec.so.51 (0x00007f7ba6ede000)
 libdl.so.2 => /lib/libdl.so.2 (0x00007f7ba6cda000)
 libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007f7ba6ad6000)
 libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f7ba68d2000)
 libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f7ba6576000)
 librt.so.1 => /lib/librt.so.1 (0x00007f7ba636d000)
 libpcre.so.3 => /usr/lib/libpcre.so.3 (0x00007f7ba6144000)
 /lib64/ld-linux-x86-64.so.2 (0x00007f7baaa51000)
 liboil-0.3.so.0 => /usr/lib/liboil-0.3.so.0 (0x00007f7ba5eb5000)
 libogg.so.0 => /usr/lib/libogg.so.0 (0x00007f7ba5cb0000)
 liba52-0.7.4.so => /usr/lib/liba52-0.7.4.so (0x00007f7ba5ba4000)
 libamrnb.so.3 => /usr/lib/libamrnb.so.3 (0x00007f7ba5966000)
 libamrwb.so.3 => /usr/lib/libamrwb.so.3 (0x00007f7ba5737000)
 libdirac_encoder.so.0 => /usr/lib/libdirac_encoder.so.0 (0x00007f7ba549e000)
 libfaac.so.0 => /usr/lib/libfaac.so.0 (0x00007f7ba528c000)
 libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x00007f7ba5014000)
 libx264.so.60 => /usr/lib/libx264.so.60 (0x00007f7ba4d8e000)
 libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0x00007f7ba4a37000)
 libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f7ba472a000)
 libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f7ba4513000)
 libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f7ba4207000)
 libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00007f7ba4005000)
 libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f7ba3de9000)
 libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f7ba3be7000)
 libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f7ba39e1000)

Should it link to both libavcodec52 and libavcodec51?

Thanks!

//Marcus

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libavcodec52 depends on:
ii  libavutil49            3:20080706-0.3    avutil shared libraries
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libfaad0               2.6.1-3.1         freeware Advanced Audio Decoder - 
ii  libgsm1                1.0.12-1          Shared libraries for GSM speech co
ii  libschroedinger-1.0-0  1.0.5-1           library for encoding/decoding of D
ii  libtheora0             1.0~beta3-1       The Theora Video Compression Codec
ii  libvorbis0a            1.2.0.dfsg-3.1    The Vorbis General Audio Compressi
ii  libvorbisenc2          1.2.0.dfsg-3.1    The Vorbis General Audio Compressi
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

libavcodec52 recommends no packages.

libavcodec52 suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Marcus Lundblad <[email protected]> writes:

> Package: libavcodec52
> Version: 3:0.svn20090110-1
> Severity: normal
>
> I installed gstreamer0.10-ffmpeg and libavcodec52 from experimental since I
> needed those for development (yes I know it can be risky doing so on a 
> system running testing), however now there seems to be a linkage to a missing
> symbol.
>
> If I run:
>  gst-inspect-0.10 speex
> (actually the name of the element isn't important for this to happen)
>
> I get:
>
> (gst-inspect-0.10:7389): GStreamer-WARNING **: Failed to load plugin 
> '/usr/lib/gstreamer-0.10/libgstffmpeg.so': /usr/lib/libavcodec.so.52: 
> undefined symbol: av_lfg_init
>
> If I do:
> objdump -T /usr/lib/libavcodec.so.52 | grep lfg_init
>
> I get:
> 0000000000000000      DF *UND*        00000000000000a6              
> av_lfg_init


That is a symbol which is included in libavutil49:
>> objdump -T libavutil.so.49 | grep av_lfg_init
00004218 g    DF .text  00000084  Base        av_lfg_init


> I'm not sure if this is gstreamer-0.10-ffmpeg linking to undefined stuff or
> the library libavcodec52 that fails to export symbols properly.
>
> Also, I think this looks suspicious:
>
> $ ldd /usr/lib/gstreamer-0.10/libgstffmpeg.so 
>  linux-vdso.so.1 =>  (0x00007fffb2bfe000)
>  libavutil.so.49 => /usr/lib/libavutil.so.49 (0x00007f7baa5e9000)
>  libavcodec.so.52 => /usr/lib/libavcodec.so.52 (0x00007f7ba9c84000)

But it seems that libgstffmpeg is properly linking against
libavutil49. So I'm confused now. Can you please check what exact
version of libavutil49 you are using and if the symbol av_lfg_init is
properly defined there?

Well, you actually posted that further below in your email:

> Versions of packages libavcodec52 depends on:
> ii  libavutil49            3:20080706-0.3    avutil shared libraries

Okay, that version of libavutil was never published by debian. I suppose
you are using it from debian-multimedia.org, which we cannot
support. I've downloaded
http://debian-multimedia.org/pool/main/f/ffmpegcvs/libavutil49_20080706-0.3_amd64.deb
and checked that libavutil from that package indeed misses that
symbol. I have no idea why the package is missing that, but I don't have
the ressources to investigate this further.

Based on that information, I'm closing your report. Please install ALL
ffmpeg related package from experimental.

> Should it link to both libavcodec52 and libavcodec51?

No. that's nonsense.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4


--- End Message ---

Reply via email to