[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#898342: libUsageEnvironment.so: undefined symbols: needs -lliveMedia



Package: libusageenvironment3
Version: 2018.04.25-2
Severity: minor
File: /usr/lib/x86_64-linux-gnu/libUsageEnvironment.so.3.1.0
User: debian-qa@lists.debian.org
Usertags: undefined-symbol adequate

libUsageEnvironment.so needs to link with -lliveMedia, see the output
of adequate, symtree and objdump below. I detected this on amd64 but
the Debian build log scanner also detected dpkg-buildpackage complaining
about it on other architectures, see the w3m and build log output below.

I filed this bug at severity minor since everything currently in Debian
that uses libUsageEnvironment.so seems to also use libliveMedia.so.

This bug report brought to you by adequate:

http://bonedaddy.net/pabs3/log/2013/02/23/inadequate-software/

$ adequate libusageenvironment3
libusageenvironment3:amd64: undefined-symbol /usr/lib/x86_64-linux-gnu/libUsageEnvironment.so.3.1.0 => _ZN9HashTable8Iterator6createERKS_

$ adequate libusageenvironment3 | c++filt 
libusageenvironment3:amd64: undefined-symbol /usr/lib/x86_64-linux-gnu/libUsageEnvironment.so.3.1.0 => HashTable::Iterator::create(HashTable const&)

$ man adequate | grep -A4 undefined-symbol
       undefined-symbol
           The symbol has not been found in the libraries linked with the binary.  Either the binary either needs to be linked with an additional shared library, or the dependency
           on the shared library package that provides this symbol is too weak.

           References: Debian Policy §3.5, §8.6, §10.2.

$ lddtree /usr/lib/x86_64-linux-gnu/libUsageEnvironment.so.3.1.0
libUsageEnvironment.so.3.1.0 => /usr/lib/x86_64-linux-gnu/libUsageEnvironment.so.3.1.0 (interpreter => none)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
        ld-linux-x86-64.so.2 => /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6

$ symtree /usr/lib/x86_64-linux-gnu/libUsageEnvironment.so.3.1.0
/usr/lib/x86_64-linux-gnu/libUsageEnvironment.so.3.1.0
    libstdc++.so.6 => _ZTVN10__cxxabiv117__class_type_infoE,__cxa_pure_virtual,_Znam,_ZdlPvm
    libm.so.6 => !?! useless link !?!
    libgcc_s.so.1 => !?! useless link !?!
    libc.so.6 => __stack_chk_fail,abort,strlen,memcpy,memcpy,__cxa_finalize
    WEAK => _ITM_deregisterTMCloneTable,__gmon_start__,_ITM_registerTMCloneTable
    UNRESOLVED => _ZN9HashTable8Iterator6createERKS_

$ objdump -T /usr/lib/x86_64-linux-gnu/libliveMedia.so.62.0.5 | grep -E "($(symtree /usr/lib/x86_64-linux-gnu/libUsageEnvironment.so.3.1.0 | sed -n 's/    UNRESOLVED => //p' | tr , '|'))$"
0000000000000000      DF *UND*	0000000000000000              _ZN9HashTable8Iterator6createERKS_

$ w3m -dump https://qa.debian.org/bls/packages/l/liblivemedia.html | grep -A2 symbol
  • W shlibs-symbol-not-found (alpha, amd64, arm64, armel, armhf, hppa,
    hurd-i386, i386, ia64, kfreebsd-amd64, kfreebsd-i386, m68k, mips, mips64el,
    mipsel, powerpc, powerpcspe, ppc64, ppc64el, riscv64, s390x, sh4, sparc64,

$ w3m -dump https://qa.debian.org/bls/bytag/W-shlibs-symbol-not-found.html | grep -A12 description
description

The build logs contains a like like

dpkg-shlibdeps: warning: symbol NAME used by BINARY found in none of the libraries.

Possible reasons:

  • A library not linked with a library needed.
    While this can sometimes make sense in order to allow the using binary to
    decide which of multiple available implementations to use, it means that
    dependency information might be incorrect, optimisations like prelinking
    might fail and stuff like that.

$ chronic getbuildlog liblivemedia last

$ grep 'dpkg-shlibdeps: warning: symbol .* used by .* found in none of the libraries' *.log
liblivemedia_2018.04.25-2_alpha.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/alpha-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_amd64.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/x86_64-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_arm64.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/aarch64-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_armel.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/arm-linux-gnueabi/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_armhf.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/arm-linux-gnueabihf/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_hppa.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/hppa-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_hurd-i386.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/i386-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_i386.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/i386-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_ia64.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/ia64-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_kfreebsd-amd64.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/x86_64-kfreebsd-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_kfreebsd-i386.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/i386-kfreebsd-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_m68k.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/m68k-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_mips64el.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/mips64el-linux-gnuabi64/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_mipsel.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/mipsel-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_mips.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/mips-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_powerpc.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/powerpc-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_powerpcspe.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/powerpc-linux-gnuspe/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_ppc64el.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/powerpc64le-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_ppc64.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/powerpc64-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_riscv64.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/riscv64-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_s390x.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/s390x-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_sh4.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/sh4-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_sparc64.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/sparc64-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_x32.log:dpkg-shlibdeps: warning: symbol _ZN9HashTable8Iterator6createERKS_ used by debian/libusageenvironment3/usr/lib/x86_64-linux-gnux32/libUsageEnvironment.so.3.1.0 found in none of the libraries

$ grep 'dpkg-shlibdeps: warning: symbol .* used by .* found in none of the libraries' *.log | c++filt 
liblivemedia_2018.04.25-2_alpha.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/alpha-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_amd64.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/x86_64-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_arm64.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/aarch64-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_armel.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/arm-linux-gnueabi/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_armhf.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/arm-linux-gnueabihf/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_hppa.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/hppa-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_hurd-i386.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/i386-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_i386.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/i386-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_ia64.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/ia64-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_kfreebsd-amd64.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/x86_64-kfreebsd-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_kfreebsd-i386.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/i386-kfreebsd-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_m68k.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/m68k-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_mips64el.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/mips64el-linux-gnuabi64/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_mipsel.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/mipsel-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_mips.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/mips-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_powerpc.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/powerpc-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_powerpcspe.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/powerpc-linux-gnuspe/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_ppc64el.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/powerpc64le-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_ppc64.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/powerpc64-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_riscv64.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/riscv64-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_s390x.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/s390x-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_sh4.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/sh4-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_sparc64.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/sparc64-linux-gnu/libUsageEnvironment.so.3.1.0 found in none of the libraries
liblivemedia_2018.04.25-2_x32.log:dpkg-shlibdeps: warning: symbol HashTable::Iterator::create(HashTable const&) used by debian/libusageenvironment3/usr/lib/x86_64-linux-gnux32/libUsageEnvironment.so.3.1.0 found in none of the libraries

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libusageenvironment3:amd64 depends on:
ii  libc6       2.27-3
ii  libgcc1     1:8.1.0-1
ii  libstdc++6  8.1.0-1

libusageenvironment3:amd64 recommends no packages.

libusageenvironment3:amd64 suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: