Subject: pkg/20190: sysutils/vcdimager-devel fails to build due to missing libiconv dependancy
To: None <gnats-bugs@gnats.netbsd.org>
From: None <douglas@fang.demon.co.uk>
List: netbsd-bugs
Date: 02/04/2003 02:46:27
>Number:         20190
>Category:       pkg
>Synopsis:       sysutils/vcdimager-devel fails to build due to missing libiconv dependancy
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 03 18:47:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Douglas Brebner
>Release:        NetBSD 1.6_STABLE
>Organization:
>Environment:
	
	
System: NetBSD aoife.home 1.6_STABLE NetBSD 1.6_STABLE (AOIFE.1.6) #0: Fri Nov 22 16:33:06 GMT 2002 root@aoife.home:/local/netbsd/build/src/sys/arch/i386/compile/AOIFE.1.6 i386
Architecture: i386
Machine: i386
>Description:
	sysutils/vcdimager-devel fails to build with the following error:

	/bin/sh ../../libtool --mode=link cc  -O2 -march=k6 -I/usr/pkg/include -Wall -Wmissing-prototypes -Wunused -Wpointer-arith -Wwrite-strings  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o vcdimager  vcdimager.o ../../libvcd/libvcd.a -L../../frontends/cli/popt/ -lpopt -lintl -lm
	mkdir .libs
	cc -O2 -march=k6 -I/usr/pkg/include -Wall -Wmissing-prototypes -Wunused -Wpointer-arith -Wwrite-strings -Wl,-R/usr/pkg/lib -o vcdimager vcdimager.o  -L/usr/pkg/lib ../../libvcd/libvcd.a -L/scratch/pkgsrc/sysutils/vcdimager-devel/work/vcdimager-0.7.12/frontends/cli/popt /usr/pkg/lib/libpopt.so /usr/pkg/lib/libintl.so /usr/pkg/lib/libiconv.so -lc -lm -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkg/lib
	ld: cannot find -liconv
	gmake[4]: *** [vcdimager] Error 1
	gmake[4]: Leaving directory `/scratch/pkgsrc/sysutils/vcdimager-devel/work/vcdimager-0.7.12/frontends/cli'


>How-To-Repeat:
	run "make" in sysutils/vcdimager-devel
>Fix:
	Adding the line
	.include "../../converters/libiconv/buildlink2.mk"
	to the Makefile allows it to build properly.
>Release-Note:
>Audit-Trail:
>Unformatted: