Subject: pkg/29029: bootstrap should USE_BUILTIN.dl=yes in mk.conf for Interix
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <joff@embeddedARM.com>
List: pkgsrc-bugs
Date: 01/21/2005 00:32:00
>Number:         29029
>Category:       pkg
>Synopsis:       bootstrap should USE_BUILTIN.dl=yes in mk.conf for Interix
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 21 00:32:00 +0000 2005
>Originator:     Jesse Off
>Release:        pkgsrc 2004Q4
>Organization:
	Technologic Systems
>Environment:
	Interix 3.5
Architecture: i386
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