Subject: Re: pkg/29470: popt build on Solaris fails with: ld: fatal: library -lc: not found
To: None <gnats-bugs@netbsd.org>
From: grant beattie <grant@NetBSD.org>
List: pkgsrc-bugs
Date: 02/21/2005 11:34:57
On Sun, Feb 20, 2005 at 07:41:00PM +0000, eric.boutilier@sun.com wrote:

> Build fragment:
> ---------------
> 
> gcc -Wall -O -I/pkgsrc/devel/popt/work/.buildlink/include -Wl,-R/usr/pkg/gcc3/lib/gcc-lib/i386-sun-solaris2/3.3.5 -Wl,-R/usr
> /pkg/gcc3/lib -Wl,-R/usr/pkg/lib -o test1 -static test1.o  -L/pkgsrc/devel/popt/work/.buildlink/gcc3/lib/gcc-lib/i386-sun-so
> laris2/3.3.5 -L/pkgsrc/devel/popt/work/.buildlink/gcc3/lib -L/pkgsrc/devel/popt/work/.buildlink/lib ./.libs/libpopt.a /pkgsr
> c/devel/popt/work/.buildlink/lib/libintl.a /pkgsrc/devel/popt/work/.buildlink/lib/libiconv.a -lc
> 
> ld: fatal: library -lc: not found
> ld: fatal: library -lc: not found
> ld: fatal: File processing errors. No output written to test1

this builds for me on Solaris 8. is it possible that Solaris 10 lacks
the static libc? that's the only reason I can see why the above would
be failing.

grant.