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=">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"000641.html">
11 <LINK REL=
"Next" HREF=
"000644.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="
17 TITLE=
"[IRCServices Coding] Dynamic Modules on OpenBSD">achurch at achurch.org
19 <I>Wed May
8 01:
44:
31 PDT
2002</I>
21 <LI>Previous message:
<A HREF=
"000641.html">[IRCServices Coding] IRCServices and Cygwin
23 <LI>Next message:
<A HREF=
"000644.html">[IRCServices Coding] Dynamic Modules on OpenBSD
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#643">[ date ]
</a>
27 <a href=
"thread.html#643">[ thread ]
</a>
28 <a href=
"subject.html#643">[ subject ]
</a>
29 <a href=
"author.html#643">[ author ]
</a>
34 <PRE>><i>DL_LAZY is only needed for future compatibility, as stated in the
35 </I>><i>OpenBSD
3.0 man page.
36 </I>><i>man dlopen reports:
37 </I>><i>"The path argument can either be an absolute pathname or it can be of
38 </I>><i>the form ``lib
<name
>.so[.xx[.yy]]'' in which case the same library
39 </I>><i>search rules apply that are used for ``intrinsic'' shared library
40 </I>><i>searches. The second argument currently has no effect, but should be
41 </I>><i>set to DL_LAZY for future compatibility.
"
43 Then it sounds like OpenBSD is already doing things the wrong way,
44 so I'll probably just disable dynamic modules entirely for it.
47 <A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org
</A>
48 <A HREF=
"http://achurch.org/">http://achurch.org/
</A>
50 ><i>On Tue,
2002-
05-
07 at
22:
07, Andrew Church wrote:
51 </I>>><i> DL_LAZY shouldn't be needed, and in fact goes contrary to what I want
52 </I>>><i> (which is to resolve all symbols on load and fail if some are missing).
53 </I>>><i> Did you read the manual page correctly? As far as the underscores, I'll
54 </I>>><i> see about putting in a check for those in the configure script.
56 </I>>><i> --Andrew Church
57 </I>>><i> <A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org
</A>
58 </I>>><i> <A HREF=
"http://achurch.org/">http://achurch.org/
</A>
61 </I>>><i> >Hello Peeps
63 </I>>><i> >On OpenBSD the flags to dlopen should be DL_LAZY, which is for future
64 </I>>><i> >compatibility (according to its manpage), also, it needs an underscore
65 </I>>><i> >prefixed onto any symbol you try and get from the modules (i believe
66 </I>>><i> >this is due to the a.out binary format, and it isn't handled in BSD's
67 </I>>><i> >dl* routines).
68 </I>>><i> >I just tried a compile on OpenBSD
3.0, and ircservices doesn't handle
69 </I>>><i> >either of these quirks, it should be a relatively simple
70 </I>>><i> >makefile/configure change to get ircservices to account for them.
72 </I>>><i> >Chris
74 </I>>><i> >------------------------------------------------------------------
75 </I>>><i> >To unsubscribe or change your subscription options, visit:
76 </I>>><i> ><A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
</A>
77 </I>>><i> ------------------------------------------------------------------
78 </I>>><i> To unsubscribe or change your subscription options, visit:
79 </I>>><i> <A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
</A>
82 </I>><i>------------------------------------------------------------------
83 </I>><i>To unsubscribe or change your subscription options, visit:
84 </I>><i><A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
</A>
92 <LI>Previous message:
<A HREF=
"000641.html">[IRCServices Coding] IRCServices and Cygwin
94 <LI>Next message:
<A HREF=
"000644.html">[IRCServices Coding] Dynamic Modules on OpenBSD
96 <LI> <B>Messages sorted by:
</B>
97 <a href=
"date.html#643">[ date ]
</a>
98 <a href=
"thread.html#643">[ thread ]
</a>
99 <a href=
"subject.html#643">[ subject ]
</a>
100 <a href=
"author.html#643">[ author ]
</a>