[IRCServices Coding] Dynamic Modules on OpenBSD

Chris Plant chris at monkeyircd.org
Sun May 5 04:15:42 PDT 2002


Hello Peeps

On OpenBSD the flags to dlopen should be DL_LAZY, which is for future
compatibility (according to its manpage), also, it needs an underscore
prefixed onto any symbol you try and get from the modules (i believe
this is due to the a.out binary format, and it isn't handled in BSD's
dl* routines).
I just tried a compile on OpenBSD 3.0, and ircservices doesn't handle
either of these quirks, it should be a relatively simple
makefile/configure change to get ircservices to account for them.

Chris