How do I find libs open by program

Steve O'Hara-Smith steve at sohara.org
Tue May 11 11:05:21 UTC 2021


On Tue, 11 May 2021 18:05:04 +0930
Shane Ambler <FreeBSD at ShaneWare.Biz> wrote:

> How can I watch what libs are open, and hopefully what libs open them,
> when I start a program?

	Short of using truss or dtrace that's not easy, you could use ldd
to find out what should be getting linked.

-- 
Steve O'Hara-Smith <steve at sohara.org>


More information about the freebsd-questions mailing list