Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 1998 14:13:34 -0800
From:      John Polstra <jdp@polstra.com>
To:        brian@Awfulhak.org
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Recent libalias/ppp crashes.  dlsym() bug ?
Message-ID:  <199801192213.OAA25533@austin.polstra.com>
In-Reply-To: <199801192047.UAA21903@awfulhak.org>
References:  <199801192047.UAA21903@awfulhak.org>

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).

John
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth



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