Subject: pkg/20213: gmake can't find -liconv
To: None <>
From: Damon Brodie <>
List: netbsd-bugs
Date: 02/05/2003 09:39:02
>Number:         20213
>Category:       pkg
>Synopsis:       gmake can't find -liconv
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 05 06:40:00 PST 2003
>Originator:     Damon Brodie
>Release:        NetBSD 1.6.1_RC1
System: NetBSD 1.6.1_RC1 NetBSD 1.6.1_RC1 (NOMAD) #0: Tue Feb 4 09:26:57 EST 2003 i386
Architecture: i386
Machine: i386
	gmake install fails to find -liconv

cc  -O2 -I/usr/pkg/include  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o make  ar.o arscan.o commands.o  default.o dir.o expand.o file.o  function.o getopt.o getopt1.o  implicit.o job.o main.o misc.o  read.o remake.o remote-stub.o rule.o  signame.o variable.o version.o  vpath.o hash.o glob/libglob.a  /usr/pkg/lib/ /usr/pkg/lib/ -lc -Wl,-rpath -Wl,/usr/pkg/lib -lintl
/usr/bin/ld: cannot find -liconv
collect2: ld returned 1 exit status

	cd /usr/pkgsrc/devel/gmake
	make update
	Adding this to the make files seems to work for me:

	.include "../../converters/libiconv/"