Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 2021 12:05:07 +0100
From:      Steve O'Hara-Smith <steve@sohara.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: How do I find libs open by program
Message-ID:  <20210511120507.9e06842e77f8727cad1db6b5@sohara.org>
In-Reply-To: <d6eea54c-c76f-ccd9-0e63-4f5e45abbf9c@ShaneWare.Biz>
References:  <d6eea54c-c76f-ccd9-0e63-4f5e45abbf9c@ShaneWare.Biz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 May 2021 18:05:04 +0930
Shane Ambler <FreeBSD@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@sohara.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210511120507.9e06842e77f8727cad1db6b5>