Date: Mon, 19 Jan 1998 22:59:45 +0000 From: Brian Somers <brian@Awfulhak.org> To: John Polstra <jdp@polstra.com> Cc: brian@Awfulhak.org, hackers@FreeBSD.ORG Subject: Re: Recent libalias/ppp crashes. dlsym() bug ? Message-ID: <199801192259.WAA26094@awfulhak.org> In-Reply-To: Your message of "Mon, 19 Jan 1998 14:13:34 PST." <199801192213.OAA25533@austin.polstra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> In article <199801192047.UAA21903@awfulhak.org>,
> Brian Somers <brian@Awfulhak.org> wrote:
>
> > This begs the question: Why can I load a function with dlsym() that
> > has unresolved variables in it ?
>
> Almost certainly because you specified a mode lf RTLD_LAZY in your
> dlopen call. If you want all external references to be checked
> immediately, use RTLD_NOW instead. See dlopen(3).
Ah, thanks. I used RTLD_LAZY because older versions didn't support
RTLD_NOW.... it never occurred to me :->
> John
> --
> John Polstra jdp@polstra.com
> John D. Polstra & Co., Inc. Seattle, Washington USA
> "Self-knowledge is always bad news." -- John Barth
--
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
<http://www.Awfulhak.org>
Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801192259.WAA26094>
