On 2020-Feb-27, at 15:11, Mark Millard <marklmi_at_yahoo.com> wrote: > Andreas Ott andreas at naund.org wrote on > Thu Feb 27 20:20:13 UTC 2020 : > > >>> # find /usr/local/*bin* /usr/local/lib* -type f \ >>> | xargs ldd -f '%p %A\n' 2>&1 | grep "^/lib/libncurses[^ ]*\.so\.8" | cut -w -f2 \ >>> | xargs pkg which -q | sort -u | more >> >> after pkp update && pkg upgrade, this came back empty. > > The command is designed to report on the usage before the > libncurses*.so.8 are deleted, rather than after they have > been deleted: it was intended to help prepare beforehand. > It sounds like you did an activity that deleted the old > versions already before running the command. > > I've not (yet?) thought about detecting and reporting forms > of libncurses*.so.8 being referenced but not being found. > I have not progressed to a version of head with > libncurses*.so.9 files yet. The following finds "libncurses[^ ]*\.so\.8 => not found " examples from ldd and reports on the port that got such: # find /usr/local/*bin* /usr/local/lib* -type f \ | xargs ldd -a 2>&1 | egrep '(^/.*:$|libncurses[^ ]*\.so\.8 => not found )' \ | grep -B1 " not found " | grep "^/.*:$" | sed -e's;:$;;' \ | xargs pkg which -q | sort -u | more dialog4ports-0.1.6 gdb-8.3.1 libedit-3.1.20191211,1 llvm10-10.0.0.r2 python37-3.7.6 readline-8.0.1 (I created a context to run the above sort of command in, a context with a few examples to find.) === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)Received on Sun Mar 01 2020 - 19:55:29 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:23 UTC