]> jfr.im git - irc.git/blob - software/RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2002/000642.html
rename -> *.git
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2002 / 000642.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices Coding] Dynamic Modules on OpenBSD
5 </TITLE>
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">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices Coding] Dynamic Modules on OpenBSD</H1>
15 <B>Chris Plant</B>
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
18 </A><BR>
19 <I>Tue May 7 09:24:13 PDT 2002</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="000640.html">[IRCServices Coding] Dynamic Modules on OpenBSD
22 </A></li>
23 <LI>Next message: <A HREF="000641.html">[IRCServices Coding] IRCServices and Cygwin
24 </A></li>
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>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>DL_LAZY is only needed for future compatibility, as stated in the
35 OpenBSD 3.0 man page.
36 man dlopen reports:
37 &quot;The path argument can either be an absolute pathname or it can be of
38 the form ``lib&lt;name&gt;.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.&quot;
42
43 On Tue, 2002-05-07 at 22:07, Andrew Church wrote:
44 &gt;<i> DL_LAZY shouldn't be needed, and in fact goes contrary to what I want
45 </I>&gt;<i> (which is to resolve all symbols on load and fail if some are missing).
46 </I>&gt;<i> Did you read the manual page correctly? As far as the underscores, I'll
47 </I>&gt;<i> see about putting in a check for those in the configure script.
48 </I>&gt;<i>
49 </I>&gt;<i> --Andrew Church
50 </I>&gt;<i> <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A>
51 </I>&gt;<i> <A HREF="http://achurch.org/">http://achurch.org/</A>
52 </I>&gt;<i>
53 </I>&gt;<i> &gt;
54 </I>&gt;<i> &gt;Hello Peeps
55 </I>&gt;<i> &gt;
56 </I>&gt;<i> &gt;On OpenBSD the flags to dlopen should be DL_LAZY, which is for future
57 </I>&gt;<i> &gt;compatibility (according to its manpage), also, it needs an underscore
58 </I>&gt;<i> &gt;prefixed onto any symbol you try and get from the modules (i believe
59 </I>&gt;<i> &gt;this is due to the a.out binary format, and it isn't handled in BSD's
60 </I>&gt;<i> &gt;dl* routines).
61 </I>&gt;<i> &gt;I just tried a compile on OpenBSD 3.0, and ircservices doesn't handle
62 </I>&gt;<i> &gt;either of these quirks, it should be a relatively simple
63 </I>&gt;<i> &gt;makefile/configure change to get ircservices to account for them.
64 </I>&gt;<i> &gt;
65 </I>&gt;<i> &gt;Chris
66 </I>&gt;<i> &gt;
67 </I>&gt;<i> &gt;------------------------------------------------------------------
68 </I>&gt;<i> &gt;To unsubscribe or change your subscription options, visit:
69 </I>&gt;<i> &gt;<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding</A>
70 </I>&gt;<i> ------------------------------------------------------------------
71 </I>&gt;<i> To unsubscribe or change your subscription options, visit:
72 </I>&gt;<i> <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">http://www.ircservices.za.net/mailman/listinfo/ircservices-coding</A>
73 </I>
74
75
76 </PRE>
77
78 <!--endarticle-->
79 <HR>
80 <P><UL>
81 <!--threads-->
82 <LI>Previous message: <A HREF="000640.html">[IRCServices Coding] Dynamic Modules on OpenBSD
83 </A></li>
84 <LI>Next message: <A HREF="000641.html">[IRCServices Coding] IRCServices and Cygwin
85 </A></li>
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>
91 </LI>
92 </UL>
93
94 </body></html>