The following reply was made to PR pkg/46478; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/46478: www/curl does not compile on Solaris/sparc with
compiler not configured with devel/libelf
Date: Fri, 25 May 2012 08:15:08 +0000
On Fri, May 25, 2012 at 06:55:02AM +0000, J?rn Clausen wrote:
> > Do you have any idea how libelf is affecting gcc and/or native ld?
> > That in theory at least shouldn't happen...
>
> No. Unfortunately, the generated object file is deleted immediately, so
> I have no chance to analyze it. I've already extracted the code fragment
> from the configure script, but I can't remember if I was even able to
> reproduce the error. I'll try to dig a little bit deeper into the GCC
> tool chain and catch the file.
Blah, that's a mess...
possible theory: is one or more of the tools linked against a base
system libelf, such that if pkgsrc's libelf is installed it ends up
using that at runtime instead? If so, that could certainly explain it
not working.
If not, I really have no idea...
--
David A. Holland
dholland%netbsd.org@localhost