How do I trace which ports call for a specific lib?

Warren Block wblock at wonkity.com
Mon Jan 3 15:32:24 UTC 2011


On Mon, 3 Jan 2011, David Southwell wrote:
>> On Mon, Jan 03, 2011 at 10:56:59AM +0000, David Southwell wrote:
>>> Due to problems with apache22 running using ssl from ports I have
>>> deinstalled ssl from ports and recompiled a number which I know used
>>> libssl.so.7.
>>>
>>> I still keep finding ports needing libssl.so.7 which need to be
>>> recompiled to use the standard OS library.
>>>
>>> How do I identify the remaining ports I need to rebuild?
>>>
>>> Thanks in advance
>>
>> pkg_libcheck from sysutils/bsdadminscripts
> Thanks v. much
>
> That does it!
> Got the list using pkg_libchk -q. Just need to write a short a to extract port
> directory from pkg_info and rebuild them.

Rhe port directory is not needed, just feed the pkgname to portmaster.


More information about the freebsd-ports mailing list