[Mono-list] libgc6 on libc2.2.5 requires -ldl

Paolo Molaro lupus@ximian.com
Tue, 9 Apr 2002 13:29:06 +0200


On 04/07/02 Ulrich Kunitz wrote:
> I compiled today mono from the cvs. However calling
> 
> configure --with-gc=boehm
> 
> doesn't work out of the box with libgc6 and libc 2.2.5. Linking of
> libdl for dlopen() is also required.

What platform are you using?
I have libc6 2.2.5 and it works ok without the patch.
Did you compile yourself libgc? Is your libgc already linked to libdl
(check the output of ldd /usr/lib/libgc.so).
Why did you comment out AC_LIBTOOL_WIN32_DLL?
libdl should be linked in already anyway because we require it
to implement P/Invoke. What program fails to link for you?

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better