Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Apr 2004 06:53:45 +0400
From:      Igor Pokrovsky <tiamat@comset.net>
To:        Mike Heffner <mheffner@vt.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Determining a program's shared libraries at runtime
Message-ID:  <20040401025345.GA542@doom.homeunix.org>
In-Reply-To: <XFMail.20040331145547.mheffner@vt.edu>
References:  <XFMail.20040331145547.mheffner@vt.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 31, 2004 at 02:55:47PM -0500, Mike Heffner wrote:
> 
> Is there a method in FreeBSD for a program to retrieve the current list of
> dynamic shared libraries it is linked against or has dlopen()'d?

Looks like ldd is doing exactly what you want, take a look at it's sources.

-ip

-- 
It's always darkest just before the lights go out.



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