On Thu, Aug 02, 2012 at 09:55:36PM -0400, Alexander Kabaev wrote: > On Thu, 2 Aug 2012 14:39:54 -0700 > Steve Kargl <sgk_at_troutmask.apl.washington.edu> wrote: > > > % file /usr/local/bin/ppdpo > > /usr/local/bin/ppdpo: ELF 32-bit LSB shared object, Intel 80386, \ > > version 1 (FreeBSD), dynamically linked (uses shared libs), > > FreeBSD-style,\ for FreeBSD 10.0 (1000015), stripped > > > > % ldd /usr/local/bin/ppdpo > > /usr/local/bin/ppdpo: > > /usr/local/bin/ppdpo: signal 11 > > > > It is weird that program tries to dlopen what appears to be the binary > (itself?), but that did uncover the issue. Please try attached patch, > I only very lightly tested it here. > > Also available here: > http://people.freebsd.org/~kan/rtld-digest-notes.diff > The patch appears to fix the problem. Before the patch % find /usr/local/bin -type f | xargs -n1 file -F ' ' | grep ELF \ | grep ELF | cut -f1 -d' ' | xargs ldd -f '%A %o\n' | grep libpng.so.6 /usr/local/bin/ppdc: signal 11 /usr/local/bin/ppdhtml: signal 11 /usr/local/bin/ipptool: signal 11 /usr/local/bin/cupstestdsc: signal 11 /usr/local/bin/cupstestppd: signal 11 /usr/local/bin/lpstat: signal 11 /usr/local/bin/lpq: signal 11 /usr/local/bin/lpr: signal 11 /usr/local/bin/ppdpo: signal 11 /usr/local/bin/cancel: signal 11 /usr/local/bin/lpoptions: signal 11 /usr/local/bin/lppasswd: signal 11 /usr/local/bin/ppdi: signal 11 /usr/local/bin/ppdmerge: signal 11 /usr/local/bin/inkscape libpng.so.6 /usr/local/bin/inkview libpng.so.6 /usr/local/bin/lp: signal 11 /usr/local/bin/lprm: signal 11 After applying the patch and rebuilding % find /usr/local/bin -type f | xargs -n1 file -F ' ' | grep ELF \ | cut -f1 -d' ' | xargs ldd -f '%A %o\n' | grep libpng.so.6 /usr/local/bin/inkscape libpng.so.6 /usr/local/bin/inkview libpng.so.6 Thanks for the quick response. -- SteveReceived on Fri Aug 03 2012 - 00:13:14 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:29 UTC