[FFmpeg-devel] No success in building ffmpeg?

djstava djstava
Thu Jan 14 09:20:32 CET 2010


when i configure ffmpeg with ./configure --enable-gpl --enable-postproc --enable-shared 
make 
sudo make install
sudo ldconfig
ffmpeg -v always outputs
/usr/local/bin/ffmpeg: symbol lookup error: /usr/local/lib/libavdevice.so.52: undefined symbol: av_free_packet 
djstava at linux:~/ffmpeg$ ldd -r `which ffmpeg`
        linux-gate.so.1 =>  (0x00868000)
        libpostproc.so.51 => /usr/lib/i686/cmov/libpostproc.so.51 (0x0041f000)
        libavdevice.so.52 => /usr/local/lib/libavdevice.so.52 (0x008cb000)
        libavformat.so.52 => /usr/lib/i686/cmov/libavformat.so.52 (0x004fd000)
        libavcodec.so.52 => /usr/lib/i686/cmov/libavcodec.so.52 (0x00bad000)
        libavutil.so.50 => /usr/local/lib/libavutil.so.50 (0x00ad8000)
        libswscale.so.0 => /usr/lib/i686/cmov/libswscale.so.0 (0x00110000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00819000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x0095c000)
        libavutil.so.49 => /usr/lib/i686/cmov/libavutil.so.49 (0x0013d000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x0014e000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0x00167000)
        libjack.so.0 => /usr/lib/libjack.so.0 (0x00322000)
        libz.so.1 => /lib/libz.so.1 (0x0022e000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x00244000)
        libdirac_encoder.so.0 => /usr/lib/libdirac_encoder.so.0 (0x00256000)
        libfaad.so.0 => /usr/lib/libfaad.so.0 (0x0033f000)
        libgsm.so.1 => /usr/lib/libgsm.so.1 (0x002ea000)
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x0037f000)
        libopenjpeg.so.2 => /usr/lib/libopenjpeg.so.2 (0x002f8000)
        libschroedinger-1.0.so.0 => /usr/lib/libschroedinger-1.0.so.0 (0x0042d000)
        libspeex.so.1 => /usr/lib/sse2/libspeex.so.1 (0x003f2000)
        libtheora.so.0 => /usr/lib/libtheora.so.0 (0x006fd000)
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x005f8000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00772000)
        libx264.so.67 => /usr/lib/libx264.so.67 (0x00aeb000)
        libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0x05109000)
        /lib/ld-linux.so.2 (0x00b90000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00317000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x0040f000)
        libsamplerate.so.0 => /usr/lib/libsamplerate.so.0 (0x01b4c000)
        libcelt.so.0 => /usr/lib/libcelt.so.0 (0x004ae000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0797d000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x004c1000)
        liboil-0.3.so.0 => /usr/lib/liboil-0.3.so.0 (0x0079b000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0x0031b000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x028fd000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x004df000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00418000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x006f4000)
undefined symbol: av_free_packet        (/usr/local/lib/libavdevice.so.52)
undefined symbol: ff_timefilter_reset   (/usr/local/lib/libavdevice.so.52)
undefined symbol: ff_timefilter_update  (/usr/local/lib/libavdevice.so.52)
undefined symbol: ff_timefilter_destroy (/usr/local/lib/libavdevice.so.52)
undefined symbol: ff_timefilter_new     (/usr/local/lib/libavdevice.so.52)
undefined symbol: avcodec_channel_layout_num_channels   (/usr/local/bin/ffmpeg)
undefined symbol: av_guess_format       (/usr/local/bin/ffmpeg)
undefined symbol: avcodec_decode_audio3 (/usr/local/bin/ffmpeg)
undefined symbol: avcodec_decode_subtitle2      (/usr/local/bin/ffmpeg)
undefined symbol: avcodec_decode_video2 (/usr/local/bin/ffmpeg)
undefined symbol: av_fast_malloc        (/usr/local/bin/ffmpeg)
undefined symbol: av_free_packet        (/usr/local/bin/ffmpeg)

I want to know why?
2010-01-14 



djstava 



More information about the ffmpeg-devel mailing list