1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices Coding] Dynamic Modules on OpenBSD
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Dynamic%20Modules%20on%20OpenBSD&In-Reply-To=3cd7c3f3.41124%40achurch.org">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"000640.html">
11 <LINK REL=
"Next" HREF=
"000641.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices Coding] Dynamic Modules on OpenBSD
</H1>
16 <A HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Dynamic%20Modules%20on%20OpenBSD&In-Reply-To=3cd7c3f3.41124%40achurch.org"
17 TITLE=
"[IRCServices Coding] Dynamic Modules on OpenBSD">chris at monkeyircd.org
19 <I>Tue May
7 09:
24:
13 PDT
2002</I>
21 <LI>Previous message:
<A HREF=
"000640.html">[IRCServices Coding] Dynamic Modules on OpenBSD
23 <LI>Next message:
<A HREF=
"000641.html">[IRCServices Coding] IRCServices and Cygwin
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#642">[ date ]
</a>
27 <a href=
"thread.html#642">[ thread ]
</a>
28 <a href=
"subject.html#642">[ subject ]
</a>
29 <a href=
"author.html#642">[ author ]
</a>
34 <PRE>DL_LAZY is only needed for future compatibility, as stated in the
37 "The path argument can either be an absolute pathname or it can be of
38 the form ``lib
<name
>.so[.xx[.yy]]'' in which case the same library
39 search rules apply that are used for ``intrinsic'' shared library
40 searches. The second argument currently has no effect, but should be
41 set to DL_LAZY for future compatibility.
"
43 On Tue,
2002-
05-
07 at
22:
07, Andrew Church wrote:
44 ><i> DL_LAZY shouldn't be needed, and in fact goes contrary to what I want
45 </I>><i> (which is to resolve all symbols on load and fail if some are missing).
46 </I>><i> Did you read the manual page correctly? As far as the underscores, I'll
47 </I>><i> see about putting in a check for those in the configure script.
49 </I>><i> --Andrew Church
50 </I>><i> <A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org
</A>
51 </I>><i> <A HREF=
"http://achurch.org/">http://achurch.org/
</A>
54 </I>><i> >Hello Peeps
56 </I>><i> >On OpenBSD the flags to dlopen should be DL_LAZY, which is for future
57 </I>><i> >compatibility (according to its manpage), also, it needs an underscore
58 </I>><i> >prefixed onto any symbol you try and get from the modules (i believe
59 </I>><i> >this is due to the a.out binary format, and it isn't handled in BSD's
60 </I>><i> >dl* routines).
61 </I>><i> >I just tried a compile on OpenBSD
3.0, and ircservices doesn't handle
62 </I>><i> >either of these quirks, it should be a relatively simple
63 </I>><i> >makefile/configure change to get ircservices to account for them.
67 </I>><i> >------------------------------------------------------------------
68 </I>><i> >To unsubscribe or change your subscription options, visit:
69 </I>><i> ><A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
</A>
70 </I>><i> ------------------------------------------------------------------
71 </I>><i> To unsubscribe or change your subscription options, visit:
72 </I>><i> <A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
</A>
82 <LI>Previous message:
<A HREF=
"000640.html">[IRCServices Coding] Dynamic Modules on OpenBSD
84 <LI>Next message:
<A HREF=
"000641.html">[IRCServices Coding] IRCServices and Cygwin
86 <LI> <B>Messages sorted by:
</B>
87 <a href=
"date.html#642">[ date ]
</a>
88 <a href=
"thread.html#642">[ thread ]
</a>
89 <a href=
"subject.html#642">[ subject ]
</a>
90 <a href=
"author.html#642">[ author ]
</a>