Re: Identifying broken applications following careless use of make -DBATCH_DELETE_OLD_FILES delete-old-libs

2020-12-15 Thread Graham Perrin
On 14/12/2020 13:20, David Wolfskill wrote: I find that "pkg_libchk" (from ports-mgmt/bsdadminscripts2) is helpful for such cases. Peace, david Thanks for this, and for the answers from other users. Ultimately I chose to: pkg upgrade -f pkg upgrade -f -r poudriere The second command was

Re: Identifying broken applications following careless use of make -DBATCH_DELETE_OLD_FILES delete-old-libs

2020-12-15 Thread Alexander Leidinger
Quoting Jens Schweikhardt (from Mon, 14 Dec 2020 14:15:05 +0100 (CET)): Alexander, it would seem that find /usr/local/*bin* /usr/local/lib* -type f \ | xargs ldd -f '%p|%A\n' 2>/dev/null \ | grep '^not found' | cut -d '|' -f2 \ | xargs pkg which -q | sort -u is prone to false positives,

Re: Identifying broken applications following careless use of make -DBATCH_DELETE_OLD_FILES delete-old-libs

2020-12-14 Thread David Wolfskill
I find that "pkg_libchk" (from ports-mgmt/bsdadminscripts2) is helpful for such cases. Peace, david -- David H. Wolfskill da...@catwhisker.org As if Trump's lies weren't obvious already, Palin has joined in to prove it. See

Re: Identifying broken applications following careless use of make -DBATCH_DELETE_OLD_FILES delete-old-libs

2020-12-14 Thread Jens Schweikhardt
Alexander, it would seem that find /usr/local/*bin* /usr/local/lib* -type f \ | xargs ldd -f '%p|%A\n' 2>/dev/null \ | grep '^not found' | cut -d '|' -f2 \ | xargs pkg which -q | sort -u is prone to false positives, since ldd is sensitive to LD_LIBRARY_PATH, viz.: $ find /usr/local/*bin*

Re: Identifying broken applications following careless use of make -DBATCH_DELETE_OLD_FILES delete-old-libs

2020-12-14 Thread Alexander Leidinger
Quoting Graham Perrin (from Mon, 14 Dec 2020 07:41:45 +): Re: I made careless use of: cd /usr/src && make -DBATCH_DELETE_OLD_FILES delete-old-libs [...] Please: how can I

Identifying broken applications following careless use of make -DBATCH_DELETE_OLD_FILES delete-old-libs

2020-12-13 Thread Graham Perrin
Re: I made careless use of: cd /usr/src && make -DBATCH_DELETE_OLD_FILES delete-old-libs – then found applications such as LibreOffice no longer working as expected. Resolved (I