ldconfig and file xxx is truncated

Bug #1888286 reported by Jeffrey Walton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
New
Undecided
Unassigned

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.

Revision history for this message
Jeffrey Walton (noloader) wrote :

Fix package name.

affects: patchelf (Ubuntu) → binutils-2.26 (Ubuntu)
Revision history for this message
Jeffrey Walton (noloader) wrote :

Bump...

Any chance of getting this fixed in Ubuntu 18? Ubuntu 18 is a LTS.

Revision history for this message
Jeffrey Walton (noloader) wrote :

Fix package name. The package is libc-bin, no binutils.

SE Admin (eased)
affects: binutils-2.26 (Ubuntu) → glibc (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.