Date: Tue, 5 Jan 1999 19:10:11 -0800 (PST) From: John Polstra <jdp@polstra.com> To: jesse@prinz-atm.CS.Uni-Magdeburg.De Cc: hackers@FreeBSD.ORG Subject: Re: RTLD_GLOBAL in dlopen(3) Message-ID: <199901060310.TAA36832@vashon.polstra.com> In-Reply-To: <13967.44598.764504.512958@knecht>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <13967.44598.764504.512958@knecht>, Roland Jesse <jesse@prinz-atm.CS.Uni-Magdeburg.De> wrote: > Hello, > > I am in the process of porting Bamboo (http://watsen.net/Bamboo/) to > FreeBSD. While doing so, I realized that the RTLD_GLOBAL flag for > dlopen() does not exist on FreeBSD (only RTLD_LAZY, RTLD_NOW, and > RTLD_NEXT do). It's not implemented yet. I've seen the Solaris documentation about namespace issues for shared libraries, but it's so ambiguous that I doubt even their developers know what really happens. Eventually I'll make a guess at it and implement something. As things stand currently in FreeBSD, RTLD_GLOBAL is in effect always set. I think the best hack for your port would be to add this: #ifndef RTLD_GLOBAL #define RTLD_GLOBAL 0 #endif John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Nobody ever went broke underestimating the taste of the American public." -- H. L. Mencken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901060310.TAA36832>