On 7/12/2012 10:27, Filip Hajny wrote: > Hm, I wonder. devel/glib2 has always been building fine for us, > 32bit, on both SmartOS and Nevada, with the platform libelf headers.
On 12. 7. 2012, at 10:07, John Marino wrote:I'm not sure how to say it clearer. The makefile will not load the libelf package for SunOS, so it defaults to the system libelf whose header is /usr/include/libelf.hDid you track how is libelf pulled in actually? There is no direct reference to libelf.h in glib2 source. -F
Jonathan Perkin stated libelf dependency was added in January, so it's possible you built glib2 before that and never hit the build problem.
Joern gave the history of libelf and glib2 problems: http://gnats.netbsd.org/46478The latest entry is 25 June where the libelf dependency was removed, but Wiz was unsure if system libelf would get picked up. The answer is clearly, "yes, it will".
John