Subject: pkg/29029: Re: pkg/29029: bootstrap should USE_BUILTIN.dl=yes in mk.conf for Interix
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Johnny C. Lam <jlam@NetBSD.org>
List: pkgsrc-bugs
Date: 01/21/2005 00:47:02
The following reply was made to PR pkg/29029; it has been noted by GNATS.

From: "Johnny C. Lam" <jlam@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/29029: bootstrap should USE_BUILTIN.dl=yes in mk.conf for Interix
Date: Fri, 21 Jan 2005 00:46:20 +0000

 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>