[Gc] gc6.3 and libdl

Sven Verdoolaege skimo at kotnet.org
Wed Sep 15 05:45:42 PDT 2004


It seems that libgc uses dlopen, while it is not linked
against libdl.
This means that users of libgc have to add libdl manually.

Here's a possible patch to fix that:

--- configure.in.orig	2004-09-15 14:39:35.000000000 +0200
+++ configure.in	2004-09-15 14:37:05.000000000 +0200
@@ -185,7 +185,7 @@
 case "$host" in
   *-*-darwin*) ;;
   *) 
-    AC_CHECK_LIB(dl, dlopen, EXTRA_TEST_LIBS="$EXTRA_TEST_LIBS -ldl")
+    AC_CHECK_LIB(dl, dlopen, THREADLIBS="$THREADLIBS -ldl")
     ;;
 esac
 
skimo


More information about the Gc mailing list