Public bug reported:

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.

** Affects: binutils-2.26 (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  ldconfig and file xxx is truncated

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to