pkg_libchk and lib/compat (was: Re: Notes on upgrades after libpcre update)
wblock at wonkity.com
Sat Jan 5 15:43:53 UTC 2013
On Sat, 5 Jan 2013, Kimmo Paasiala wrote:
> On Sat, Jan 5, 2013 at 9:22 AM, Boris Samorodov <bsam at passap.ru> wrote:
>> 05.01.2013 09:09, Kevin Oberman ?????:
>>> pkg_libchk does not count old libraries in
>>> the compat folder, so it will still report the problem ports even
>>> though you use '-w'.
>> Are you sure? From PKG_LIBCHK(1):
>> The pkg_libchk script uses pkg_info(1), ldd(1) and readelf(1) to check
>> whether a package is linked against missing libraries or libraries
>> ing in /usr/local/lib/compat and its subfolders.
>> -n --no-compat
>> This deactivates detecting compat libraries in
>> /usr/local/lib/compat as missing libraries.
> It certainly does look at the compat -directories by default and
> that's the correct thing to do.
Yes. Because it considers links to libraries in compat to be a problem,
old libraries there don't fool it.
More information about the freebsd-ports