[Bug 1589987] Re: package libc6-dev-i386 (not installed) failed to install/upgrade: trying to overwrite '/usr/include/bits', which is also in package libc6-dev-amd64:i386 2.23-0ubuntu3

Paul mondain at gmail.com
Tue Jun 7 13:26:02 UTC 2016


Heres the configure command for reference:

./configure --disable-debug --disable-doc --disable-avdevice --disable-
programs --disable-decoders --disable-encoders --disable-filters
--disable-muxers --disable-demuxers --disable-indevs --disable-outdevs
--disable-swscale-alpha --disable-symver --disable-protocols --disable-
bsfs --disable-parsers --disable-symver --disable-iconv --enable-shared
--enable-static --enable-swresample --enable-swscale --enable-pthreads
--enable-pic --enable-asm --enable-yasm --enable-decoder=aac --enable-
decoder=h264 --enable-decoder=libspeex --enable-parser=h264,aac
--prefix="$(pwd)/linux" --extra-cflags="-fPIC -mcmodel=large" --extra-
cxxflags="-fPIC -mcmodel=large" --pkg-config-flags="--static"

Heres the output of make:

/usr/bin/ld: libavutil/color_utils.o(.text+0x25c): unresolvable R_X86_64_PLTOFF64 relocation against symbol `log@@GLIBC_2.2.5'
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
library.mak:98: recipe for target 'libavutil/libavutil.so.55' failed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1589987

Title:
  package libc6-dev-i386 (not installed) failed to install/upgrade:
  trying to overwrite '/usr/include/bits', which is also in package
  libc6-dev-amd64:i386 2.23-0ubuntu3

Status in glibc package in Ubuntu:
  New

Bug description:
  I'm trying to build ffmpeg static and shared, i keep running into what
  appears to be a problem with things like libc not being compiled with
  -fPIC which causes me nothing but errors as I progress. One such error
  is this one:

  [ERROR] /usr/bin/ld: /home/mondain/workspace/github-infrared5/red5pro-
  cauldron/src/main/lib/amd64-Linux-gpp/libavcodec.a(hevc_cabac.o):
  relocation R_X86_64_PC32 against symbol `ff_h264_cabac_tables' can not
  be used when making a shared object; recompile with -fPIC

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: libc6-dev-i386 (not installed)
  ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
  Uname: Linux 4.4.0-22-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  Date: Tue Jun  7 09:12:16 2016
  DuplicateSignature:
   package:libc6-dev-i386:(not installed)
   Unpacking libc6-dev-i386 (2.23-0ubuntu3) ...
   dpkg: error processing archive /var/cache/apt/archives/libc6-dev-i386_2.23-0ubuntu3_amd64.deb (--unpack):
    trying to overwrite '/usr/include/bits', which is also in package libc6-dev-amd64:i386 2.23-0ubuntu3
  ErrorMessage: trying to overwrite '/usr/include/bits', which is also in package libc6-dev-amd64:i386 2.23-0ubuntu3
  InstallationDate: Installed on 2016-05-20 (18 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.1
   apt  1.2.12~ubuntu16.04.1
  SourcePackage: glibc
  Title: package libc6-dev-i386 (not installed) failed to install/upgrade: trying to overwrite '/usr/include/bits', which is also in package libc6-dev-amd64:i386 2.23-0ubuntu3
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1589987/+subscriptions



More information about the foundations-bugs mailing list