Subject: pkg/20213: gmake can't find -liconv
To: None <gnats-bugs@gnats.netbsd.org>
From: Damon Brodie <damon@nomad.brodiefamily.org>
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
>Closed-Date:
>Last-Modified:
>Originator: Damon Brodie
>Release: NetBSD 1.6.1_RC1
>Organization:
>Environment:
System: NetBSD nomad.brodiefamily.org 1.6.1_RC1 NetBSD 1.6.1_RC1 (NOMAD) #0: Tue Feb 4 09:26:57 EST 2003 damon@nomad.brodiefamily.org:/usr/src/sys/arch/i386/compile/NOMAD i386
Architecture: i386
Machine: i386
>Description:
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/libintl.so /usr/pkg/lib/libiconv.so -lc -Wl,-rpath -Wl,/usr/pkg/lib -lintl
/usr/bin/ld: cannot find -liconv
collect2: ld returned 1 exit status
>How-To-Repeat:
cd /usr/pkgsrc/devel/gmake
make update
>Fix:
Adding this to the make files seems to work for me:
.include "../../converters/libiconv/buildlink2.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: