Date: Wed, 3 Dec 2003 12:26:33 +0200 From: Sergey Lyubka <devnull@uptsoft.com> To: freebsd-hackers@freebsd.org Subject: Re: dlopen() and -pg flag Message-ID: <20031203122633.B822@oasis.uptsoft.com> In-Reply-To: <3FCDB996.4090603@netli.com>; from vlm@netli.com on Wed, Dec 03, 2003 at 02:23:18AM -0800 References: <20031203121658.A822@oasis.uptsoft.com> <3FCDB996.4090603@netli.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Absolutely. thanks, that helps! On Wed, Dec 03, 2003 at 02:23:18AM -0800, Lev Walkin wrote: > > -pg on your system implies static linking. dlopen() is not available in > statically linked binaries on FreeBSD and many other systems. > > Consider building your binary dynamic by making sure there is a dynamic > version of libc with profiling support (something like /usr/lib/libc_p.so). > > Otherwise, there seems to be no obvious way to do it. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031203122633.B822>