diff --git a/c3s/configure b/c3s/configure
index 7ee40ed..f77594f 100755
--- a/c3s/configure
+++ b/c3s/configure
@@ -54,6 +54,7 @@ pkg_config libbsd-overlay
pkg_config libffi
pkg_config libmd
config_lib libmd -lmd
+config_lib dl -ldl
# Asan config
CFLAGS_ASAN="$CFLAGS -fsanitize=address -O1 -fno-omit-frame-pointer -g"
diff --git a/ic3/configure b/ic3/configure
index 75de096..c7ce057 100755
--- a/ic3/configure
+++ b/ic3/configure
@@ -54,6 +54,7 @@ pkg_config libbsd-overlay
pkg_config libffi
pkg_config libmd
config_lib libmd -lmd
+config_lib dl -ldl
# Asan config
CFLAGS_ASAN="$CFLAGS -fsanitize=address -O1 -fno-omit-frame-pointer -g"
diff --git a/test/configure b/test/configure
index 5461637..cd58259 100755
--- a/test/configure
+++ b/test/configure
@@ -54,6 +54,7 @@ pkg_config libbsd-overlay
pkg_config libffi
pkg_config libmd
config_lib libmd -lmd
+config_lib dl -ldl
# Asan config
CFLAGS_ASAN="$CFLAGS -fsanitize=address -O1 -fno-omit-frame-pointer -g"