pkg_libchk (was Re: gvfs on FreeBSD 10 fails to build)

Matthew Seaman matthew at FreeBSD.org
Tue Nov 26 19:32:23 UTC 2013


On 26/11/2013 18:15, Warren Block wrote:
> On Tue, 26 Nov 2013, Kevin Oberman wrote:
> 
>> Possibly hijacking the thread, but isn't it time that pkg_libchk was
>> made a
>> part of the base system? It comes up over and over as a tool to simplify
>> dealing with dealing with shareable library version bumps and even more
>> important for dealing with the problem seen here. It's a fairly simple,
>> well written, maintainable shell script, so will run with no
>> dependencies.
>> I can't think of any reason not to include it in the base system.
>>
>> Checking for issues with shareable libraries is an obvious requirement
>> for
>> maintaining a system and doing so without a tool like pkg_libchk is
>> unnecessarily tedious and painful.
> 
> Maybe integrating it with pkg rather than the base system.  At least for
> me, it's not a problem with the base.

pkg(8) already has a lot of shlib analysis built in.  So, for instance
to find all the pkg with binaries that link against libiconv:

   % pkg shlib -P libiconv.so.3

Hmmm... although it seems the -P and -R flags have gotten swapped over
somehow.

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1036 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20131126/f89a3b64/attachment.sig>


More information about the freebsd-ports mailing list