[packman] ffmpeg rpm

Michel de Boer michel at twinklephone.com
Sun Jan 28 00:18:53 CET 2007


Hi,

I installed the following RPM from packman:

ffmpeg-0.4.9-8.pm.svn20070120

I think there is a problem with the build of ffmpeg.
I get this error:

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

ffplay works fine.

It seems ffmpeg is not linked against libdl (-ldl):

ldd /usr/bin/ffmpeg
        linux-gate.so.1 =>  (0xffffe000)
        libavformat.so.51 => /usr/lib/libavformat.so.51 (0xb7eb6000)
        libavcodec.so.51 => /usr/lib/libavcodec.so.51 (0xb7ad2000)
        libavutil.so.49 => /usr/lib/libavutil.so.49 (0xb7acb000)
        libm.so.6 => /lib/libm.so.6 (0xb7aa5000)
        libc.so.6 => /lib/libc.so.6 (0xb7976000)
        libz.so.1 => /lib/libz.so.1 (0xb7963000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0xb795d000)
        libdts.so.0 => /usr/lib/libdts.so.0 (0xb7939000)
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb78c9000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb78a1000)
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb77a3000)
        libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0xb768f000)
        libx264.so.54 => /usr/lib/libx264.so.54 (0xb7608000)
        libfaac.so.0 => /usr/lib/libfaac.so.0 (0xb75f8000)
        libfaad.so.0 => /usr/lib/libfaad.so.0 (0xb75b7000)
        /lib/ld-linux.so.2 (0xb7f5e000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb759e000)

ffplay is linked against libldl (-ldl) and hence it works:

ldd /usr/bin/ffplay
        linux-gate.so.1 =>  (0xffffe000)
        libavformat.so.51 => /usr/lib/libavformat.so.51 (0xb7f28000)
        libavcodec.so.51 => /usr/lib/libavcodec.so.51 (0xb7b44000)
        libavutil.so.49 => /usr/lib/libavutil.so.49 (0xb7b3d000)
        libm.so.6 => /lib/libm.so.6 (0xb7b17000)
        libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7a83000)
        libc.so.6 => /lib/libc.so.6 (0xb7955000)
        libz.so.1 => /lib/libz.so.1 (0xb7942000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0xb793c000)
        libdts.so.0 => /usr/lib/libdts.so.0 (0xb7918000)
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb78a7000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7880000)
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb7782000)
        libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0xb766e000)
        libx264.so.54 => /usr/lib/libx264.so.54 (0xb75e7000)
        libfaac.so.0 => /usr/lib/libfaac.so.0 (0xb75d7000)
        libfaad.so.0 => /usr/lib/libfaad.so.0 (0xb7595000)
        /lib/ld-linux.so.2 (0xb7fd0000)
---->   libdl.so.2 => /lib/libdl.so.2 (0xb7591000)
        libaa.so.1 => /usr/lib/libaa.so.1 (0xb7576000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb755e000)
        libncurses.so.5 => /lib/libncurses.so.5 (0xb7517000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb73f9000)
        libgpm.so.1 => /usr/lib/libgpm.so.1 (0xb73f2000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb73ee000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb73e8000)

HTH to solve the problem.

-- 
Michel de Boer
www.twinklephone.com




More information about the Packman mailing list