[Bug 1888286] Re: ldconfig and file xxx is truncated

SE Admin 1888286 at bugs.launchpad.net
Thu Jan 19 12:06:11 UTC 2023


** Package changed: binutils-2.26 (Ubuntu) => glibc (Ubuntu)

-- 
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/1888286

Title:
  ldconfig and file xxx is truncated

Status in glibc package in Ubuntu:
  New

Bug description:
  Hi Everyone,

  I'm working on Ubuntu 18.04 x86_64 fully patched. I'm using patchelf
  to fix rpath tokens. The fix is needed because some projects start
  with LDFLAGS=-Wl,-rpath,'$ORIGIN/../lib', but result in "RIGIN/../lib"
  in the binary. After running patchelf on an affected project to fix
  the runpath the following is common:

  ...
  libtool: finish: PATH="/tmp/ok2delete/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin" ldconfig -n /tmp/ok2delete/lib
  /sbin/ldconfig.real: file /tmp/ok2delete/lib/libhogweed.so.6.0 is truncated
  /sbin/ldconfig.real: file /tmp/ok2delete/lib/libhogweed.so.6 is truncated
  /sbin/ldconfig.real: file /tmp/ok2delete/lib/libhogweed.so is truncated
  /sbin/ldconfig.real: file /tmp/ok2delete/lib/libnettle.so.8 is truncated
  /sbin/ldconfig.real: file /tmp/ok2delete/lib/libnettle.so is truncated
  /sbin/ldconfig.real: file /tmp/ok2delete/lib/libnettle.so.8.0 is truncated

  Please pickup this patch for Ubuntu LTS releases:
  https://sourceware.org/git/?p=glibc.git;a=patch;h=58e8f5fd2ba47b6dc47fd4d0a35e4175c7c87aaa.

  Also see https://github.com/NixOS/patchelf/issues/44 and
  https://sourceware.org/bugzilla/show_bug.cgi?id=25087.

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




More information about the foundations-bugs mailing list