Subject: pkg/23042: some packages have problems finding -liconv
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/02/2003 21:29:09
>Number:         23042
>Category:       pkg
>Synopsis:       gdk-pixbuf-gnome and gnome-media won't build because -liconv is missing
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 03 01:30:00 UTC 2003
>Originator:     Steven M. Bellovin
>Release:        NetBSD 1.6.1_STABLE
System: NetBSD 1.6.1_STABLE NetBSD 1.6.1_STABLE (SIGABA) #7: Tue Sep 2 13:42:47 EDT 2003 i386
Architecture: i386
Machine: i386
	With an up-to-date pkgsrc and a completely clean /usr/pkg,
	a number of packages won't build because some dependencies --
	gdk-pixbuf-gnome and gnome-media -- won't build.  They both
	fail because the linker can't find -liconv.  I notice that for
	the former, at least, libiconv isn't even listed as a prerequisite

	cc -O2 -I/usr/pkgsrc/graphics/gdk-pixbuf-gnome/work/.buildlink/include -I/usr/pk
	gsrc/graphics/gdk-pixbuf-gnome/work/.buildlink-x11/include -Wl,-R/usr/pkg/lib -W
	l,-R/usr/X11R6/lib -o .libs/test-gdk-pixbuf test-gdk-pixbuf.o -Wl,-R/usr/pkg/lib
	 -Wl,-R/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/l
	 ib -Wl,-R/usr/pkg/lib  -L/usr/pkgsrc/graphics/gdk-pixbuf-gnome/work/.buildlink/l
	 ib -L/usr/pkgsrc/graphics/gdk-pixbuf-gnome/work/.buildlink-x11/lib ./.libs/libgd -L/usr/pkg/lib -L/usr/X11R6/lib /usr/pkg/lib/ /usr/pkg/lib
	 / /usr/pkg/lib/ /usr/lib/ /usr/X11R6/lib/
	  /usr/X11R6/lib/ /usr/X11R6/lib/ -lSM -lICE /usr/X1
	  1R6/lib/ /usr/X11R6/lib/ -lintl -lXi -lXext -lX11 /usr/X11R6/l
	  ib/ /usr/X11R6/lib/ -lz -liconv -lc /usr/pkg/lib/li -lossaudio /usr/pkg/lib/ -lm /usr/pkg/lib/ /usr
	  /pkg/lib/ /usr/lib/ -Wl,--rpath -Wl,/usr/X11R6/lib -Wl,--
	  rpath -Wl,/usr/pkg/lib
	  /usr/bin/ld: cannot find -liconv
	  collect2: ld returned 1 exit status
	  gmake[3]: *** [test-gdk-pixbuf] Error 1

	Build.  Wait.  Observe.