Index: libphobos/libdruntime/core/sys/openbsd/dlfcn.d
--- libphobos/libdruntime/core/sys/openbsd/dlfcn.d.orig
+++ libphobos/libdruntime/core/sys/openbsd/dlfcn.d
@@ -21,6 +21,9 @@ enum RTLD_NEXT    = cast(void *)-1;
 enum RTLD_DEFAULT = cast(void *)-2;
 enum RTLD_SELF    = cast(void *)-3;
 
+enum RTLD_NOLOAD     = 0;
+enum RTLD_DI_LINKMAP = 0;
+
 enum DL_GETERRNO     = 1;
 enum DL_SETTHREADLCK = 2;
 enum DL_SETBINDLCK   = 3;
@@ -28,3 +31,8 @@ enum DL_SETBINDLCK   = 3;
 enum DL_LAZY         = RTLD_LAZY;
 
 int dlctl(void *, int, void *);
+
+int dlinfo(void *handle, int request, void *p) nothrow @nogc
+{
+    return 0;
+}
