Date: Tue, 15 Dec 2020 11:33:37 +0100 From: Alexander Leidinger <Alexander@leidinger.net> To: Jens Schweikhardt <schweikh@schweikhardt.net> Cc: Graham Perrin <grahamperrin@gmail.com>, freebsd-current@freebsd.org Subject: Re: Identifying broken applications following careless use of make -DBATCH_DELETE_OLD_FILES delete-old-libs Message-ID: <20201215113337.Horde.l4wQz3q2aWv3qxrbkMGpQOe@webmail.leidinger.net> In-Reply-To: <2059585148.3686937.1607951705519.JavaMail.zimbra@schweikhardt.net> References: <20201214093838.Horde.7MCNPdaO93VFac3VZjMk0BW@webmail.leidinger.net> <2059585148.3686937.1607951705519.JavaMail.zimbra@schweikhardt.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format and has been PGP signed. --=_nsOcneOCf3rOd_MHv5r5Gnq Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Jens Schweikhardt <schweikh@schweikhardt.net> (from Mon, 14=20=20 Dec=202020 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, since ldd is sensitive to LD_LIBRARY_PATH, v= iz.: Yes. Firefox, LibreOffice/OpenOffice come to my mind directly. There=20=20 may=20be others. I expect those to be rare (compared to the size of the=20= =20 ports=20collection), but if you encounter some false positives, it's=20=20 probably=20a big package. Either way, "locate $missing_lib" is a good=20=20 idea=20here. [...] > So make sure you look into what exact library is missing and if > it's actually somewhere "non-standard", > that directory should be in LD_LIBRARY_PATH. Temporary for the run of this check, yes. Bye, Alexander. --=20 http://www.Leidinger.net=20Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_nsOcneOCf3rOd_MHv5r5Gnq Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJf2JEBAAoJEBINsJsD+NiGn9sQAJZRbaKKzGWkz2daaGpVVrQV 39w5Gd5Loek/rrkRYRE3trCaLND51dJ+rP+aIaaX6rEVQZQvo2URGoTxiTqKae8C mYZmviQ48bwvCxAa8mUk/I0naZc22VaGbGT5UhpRSxf5SladCRMqECEWBw8TD0hf aYgp2+NJpDYsK18CGhZdUvT2vmevMlX/T8xJ8zHE4Ghi9T5sMeOyuI0a+l/R9XwG mkokgsLxT4IwOFkugoAVLE43O3Aw0xlX1YOZ25Tkd2IQK3UtIa69w5vVFC0W8gQA ydjpgUzQ9EFtelHM7IrOXzMSOyy1DEfiL+g9t6TIqT87AJXzlVyo+UoG5YAXbAtw RVwz17qe0aQaanLd4CgHgIMOoBI5P4lte1OPefZywBF00e1v1sbnAPJQtzBXzUz5 jv22Fjsa8Wiwj18xFvy9O+9tpaBxlg3ZnmOfSqDAuAbqy6JNYnfbJ8phz00pR5fD SvpIn7JHNBPiaydTUnh0BE9LqNVqEcZI3r2yIpC9Y6CHav19JJ0rP93UEUGSTqmm iwD6e3g5y7SjRzd4WF7yCZbkbpLHxrGJZ1dPuBtZfXjFtTX5MKEEq2i0B3b+HBrc zW+QOLyHev+hLpqS86p4QUiPSzOeJmpGKpViRP8P9mRukgLSdD5F7zjHR5GfWsot 0HnIUelIQyQyNJc/dcPA =HMBf -----END PGP SIGNATURE----- --=_nsOcneOCf3rOd_MHv5r5Gnq--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201215113337.Horde.l4wQz3q2aWv3qxrbkMGpQOe>