On Tue, May 08, 2007, Scott Cruzen wrote: > * Ralf S. Engelschall <[EMAIL PROTECTED]> [070507 23:20]: > > On Mon, May 07, 2007, Scott Cruzen wrote: > > > > > "openpkg build arptools | sh" fails on Solaris 10/amd64 (32 bit) > > > adding LIBS="-lnsl -lsocket" to the configure line seems to fix it. > > > > Thanks for the hint. Now fixed. > > > > Thanks for fixing this, but it looks like it needs -lresolv too. > > Also, I noticed that it ends up with > LIBS=' -lnsl -lsocket -lpcap -lsocket -lnsl -lnet' > > I'm not sure why some libraries are listed twice, but it's obviously not > a serious problem.
The doubling of the libs results from the fact that arptools' "configure" script already determines that it needs "-lnsl -lsocket" under Solaris but unfortunately places them into LIBS in the wrong order (they would have to check for -lpcap before). The -lresolv I've now added, too. The package now finally builds just fine for me under Solaris. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ OpenPKG http://openpkg.org User Communication List openpkg-users@openpkg.org