Date: Fri, 21 Feb 2020 15:59:37 -0800 From: Kevin Oberman <rkoberman@gmail.com> To: Mark Millard <marklmi@yahoo.com> Cc: FreeBSD ports <freebsd-ports@freebsd.org>, yasu@utahime.org Subject: Re: svn commit: r358166 - head Message-ID: <CAN6yY1uzA6-TOyM=QnowyYJHTz8YbgzadfX6SCYO%2BKFu_qO7iQ@mail.gmail.com> In-Reply-To: <27EABC0F-6D78-47E1-810B-FAB282D430A3@yahoo.com> References: <27EABC0F-6D78-47E1-810B-FAB282D430A3.ref@yahoo.com> <27EABC0F-6D78-47E1-810B-FAB282D430A3@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 21, 2020 at 8:38 AM Mark Millard via freebsd-ports < freebsd-ports@freebsd.org> wrote: > Based on the example from https://www.freebsd.org/cgi/man.cgi?ldd > there are commands such as the following that might help: > > # find /usr/local/bin* /usr/local/lib* -type f | xargs -n1 file -F ' ' | > grep 'ELF.*dynamically' | cut -f1 -d' ' | xargs ldd -f '%A %o\n' | grep > ncurses\.so\.8 | more > /usr/local/bin/xterm libncurses.so.8 > /usr/local/bin/msgattrib libncurses.so.8 > /usr/local/bin/msgcat libncurses.so.8 > /usr/local/bin/msgcmp libncurses.so.8 > /usr/local/bin/msgcomm libncurses.so.8 > /usr/local/bin/msgconv libncurses.so.8 > /usr/local/bin/msgen libncurses.so.8 > /usr/local/bin/msgexec libncurses.so.8 > /usr/local/bin/msgfilter libncurses.so.8 > /usr/local/bin/msgfmt libncurses.so.8 > /usr/local/bin/msggrep libncurses.so.8 > /usr/local/bin/msginit libncurses.so.8 > /usr/local/bin/msgmerge libncurses.so.8 > /usr/local/bin/msgunfmt libncurses.so.8 > /usr/local/bin/msguniq libncurses.so.8 > /usr/local/bin/xgettext libncurses.so.8 > /usr/local/bin/gdbmtool libncurses.so.8 > /usr/local/bin/bison libncurses.so.8 > /usr/local/bin/sqlite3 libncurses.so.8 > /usr/local/bin/resize libncurses.so.8 > /usr/local/bin/luac52 libncurses.so.8 > /usr/local/bin/lua52 libncurses.so.8 > /usr/local/bin/gnuplot libncurses.so.8 > /usr/local/bin/FileCheck80 libncurses.so.8 > /usr/local/bin/FileCheck10 libncurses.so.8 > /usr/local/lib/gettext/cldr-plurals libncurses.so.8 > > This can be a lot of files to go through (e.g., lib*) and so > can take a fair amount of time. > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > You can feed that list into 'pkg which', awk that to remove all of the commands and then all but the last space delimited string of the remainder, and uniq. I also sorted. bison-3.5.2,1 gdbm-1.18.1_1 gettext-tools-0.20.1_1 gnuplot-5.2.8 llvm80-8.0.1_3 lua52-5.2.4 sqlite3-3.30.1,1 xterm-353_1 -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1uzA6-TOyM=QnowyYJHTz8YbgzadfX6SCYO%2BKFu_qO7iQ>