[Bug 1888286] [NEW] ldconfig and file xxx is truncated

Launchpad Bug Tracker 1888286 at bugs.launchpad.net
Thu Jan 19 12:06:12 UTC 2023


You have been subscribed to a public bug:

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: glibc (Ubuntu)
     Importance: Undecided
         Status: New

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



More information about the foundations-bugs mailing list