Closed Passw closed 9 years ago
Workaround for this, by add -ldl
sun@sun:~/dub$ git diff build.sh
diff --git a/build.sh b/build.sh
index 3ce8c2c..b820a59 100755
--- a/build.sh
+++ b/build.sh
@@ -22,7 +22,7 @@ LIBS=`pkg-config --libs libcurl 2>/dev/null || echo "-lcurl"`
# fix for modern GCC versions with --as-needed by default
if [ "$DMD" = "dmd" ]; then
if [ `uname` = "Linux" ]; then
- LIBS="-l:libphobos2.a $LIBS"
+ LIBS="-l:libphobos2.a $LIBS -ldl"
else
LIBS="-lphobos2 $LIBS"
fi
Duplicate of #660.