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