Subject: Re: pkg/29029: bootstrap should USE_BUILTIN.dl=yes in mk.conf for Interix
To: None <gnats-bugs@netbsd.org>
From: Johnny C. Lam <jlam@NetBSD.org>
List: pkgsrc-bugs
Date: 01/21/2005 00:46:20
On Fri, Jan 21, 2005 at 12:32:00AM +0000, joff@embeddedARM.com wrote:
> Machine: i386
> >Description:
> 	Several packages fail to build with a message 
> 	"Package X requires dlopen()".  Interix does have dlopen(), just not
> 	in a header file /usr/include/dlopen.h.  
> >How-To-Repeat:
> 	Try building perl on Interix
> >Fix:
> 	Add a line "USE_BUILTIN.dl=yes" to the example mk.conf during pkgsrc
> 	bootstrap or extend detection of builtin dlopen() to a method more
> 	resilent than simply checking for the presence of a /usr/include/dlfcn.h

I would rather that we enhance dlopen.builtin.mk to properly detect
dlopen() on Interix.  In which header are the dl*() functions declared?
Is there a libdl on Interix?

	Cheers,

	-- Johnny Lam <jlam@NetBSD.org>