Bug 16007

Summary: mencoder should require the new version of libdvdnav(?)
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: mencoderAssignee: Vladimir D. Seleznev <vseleznv>
Status: CLOSED DUPLICATE QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: ender, led, placeholder, rider, vseleznv
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on: 15079    
Bug Blocks:    

Description Ivan Zakharyaschev 2008-06-13 20:51:10 MSD
mencoder-1.0-alt35.26470.1

APT installed the new version of mencoder, but now /usr/bin/mencoderhas undefined symbols,
because APT didn't know that the new
version of a library (libdvdnav?) is required. A solution could be to add version to the symbols in libdvdnav's ABI and rebuild
mencoder.

$ rpm -q mencoder -l | fgrep bin/ | xargs ldd -r
        linux-gate.so.1 =>  (0xb7fbc000)
        libXvMCW.so.1 => /usr/lib/libXvMCW.so.1 (0xb7f8a000)
        libfaac.so.0 => /usr/lib/libfaac.so.0 (0xb7f79000)
        libdirac_encoder.so.0 => /usr/lib/libdirac_encoder.so.0 (0xb7ef6000)
        libdirac_decoder.so.0 => /usr/lib/libdirac_decoder.so.0 (0xb7e8d000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7da6000)
        libx264.so.0 => /usr/lib/libx264.so.0 (0xb7cf9000)
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb7c8a000)
        libtinfo.so.5 => /lib/libtinfo.so.5 (0xb7c73000)
        libsmbclient.so.0 => /usr/lib/libsmbclient.so.0 (0xb7a53000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7a30000)
        libz.so.1 => /lib/libz.so.1 (0xb7a1b000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb79fc000)
        libungif.so.4 => /usr/lib/libungif.so.4 (0xb79f4000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0xb7932000)
        libdl.so.2 => /lib/libdl.so.2 (0xb792e000)
        libdvdread.so.3 => /usr/lib/libdvdread.so.3 (0xb7911000)
        libcdda_interface.so.0 => /usr/lib/libcdda_interface.so.0 (0xb7902000)
        libcdda_paranoia.so.0 => /usr/lib/libcdda_paranoia.so.0 (0xb78fa000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb787f000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7855000)
        libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0xb7848000)
        libenca.so.0 => /usr/lib/libenca.so.0 (0xb7821000)
        liblzo2.so.2 => /usr/lib/liblzo2.so.2 (0xb7804000)
        libmad.so.0 => /usr/lib/libmad.so.0 (0xb77ed000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb77c5000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0xb77c0000)
        libspeex.so.1 => /usr/lib/libspeex.so.1 (0xb779f000)
        libtheora.so.0 => /usr/lib/libtheora.so.0 (0xb7758000)
        libdts.so.0 => /usr/lib/libdts.so.0 (0xb7733000)
        libmpcdec.so.5 => /usr/lib/libmpcdec.so.5 (0xb772a000)
        libdv.so.4 => /usr/lib/libdv.so.4 (0xb7701000)
        libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0xb75e3000)
        libm.so.6 => /lib/libm.so.6 (0xb75bd000)
        libnut.so.0 => /usr/lib/libnut.so.0 (0xb75b0000)
        libdvdnav.so.4 => /usr/lib/libdvdnav.so.4 (0xb7585000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb756e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7563000)
        libc.so.6 => /lib/libc.so.6 (0xb743b000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7352000)
        /lib/ld-linux.so.2 (0x80000000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb733f000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7329000)
        librt.so.1 => /lib/librt.so.1 (0xb7320000)
        libgssapi_krb5.so.2 => /lib/libgssapi_krb5.so.2 (0xb72f8000)
        libkrb5.so.3 => /lib/libkrb5.so.3 (0xb7268000)
        libk5crypto.so.3 => /lib/libk5crypto.so.3 (0xb7243000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0xb723f000)
        libldap-2.3.so.0 => /lib/libldap-2.3.so.0 (0xb720a000)
        liblber-2.3.so.0 => /lib/liblber-2.3.so.0 (0xb71fe000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb71f6000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb71df000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb71be000)
        libdvdcss.so.2 => /usr/lib/libdvdcss.so.2 (0xb71b6000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb71b4000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb719c000)
        libkrb5support.so.0 => /lib/libkrb5support.so.0 (0xb7194000)
        libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb7191000)
        libsasl2.so.2 => /lib/libsasl2.so.2 (0xb717b000)
        libssl.so.6 => /lib/libssl.so.6 (0xb713c000)
        libcrypto.so.6 => /lib/libcrypto.so.6 (0xb7006000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb7003000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6ffd000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb6fca000)
undefined symbol: dvdnav_audio_stream_channels  (/usr/bin/mencoder)
undefined symbol: dvdnav_describe_title_chapters        (/usr/bin/mencoder)
undefined symbol: dvdnav_get_current_time       (/usr/bin/mencoder)
undefined symbol: dvdnav_audio_stream_format    (/usr/bin/mencoder)
$ 

apt> showpkg libdvdnav
Package: libdvdnav
Versions: 
0.1.10-alt6(/var/lib/apt/lists/ftp.altlinux.org_pub_distributions_ALTLinux_Sisyphus_i586_base_pkglist.classic)(/var/lib/apt/lists/ftp.linux.kiev.ua_pub_Linux_ALT_Sisyphus_i586_base_pkglist.classic)
0.1.10-alt3(/var/lib/rpm/Packages)
Comment 1 Ivan Zakharyaschev 2008-06-13 20:58:43 MSD
Sorry for duplicate report, I didn't notice mencoder is also compiled from the mplayer src.rpm.

*** This bug has been marked as a duplicate of bug 16008 ***