Subject: pkg/23042: some packages have problems finding -liconv
To: None <gnats-bugs@gnats.netbsd.org>
From: None <smb@research.att.com>
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
>Closed-Date:
>Last-Modified:
>Originator:     Steven M. Bellovin
>Release:        NetBSD 1.6.1_STABLE
>Organization:
AT&T
>Environment:
	
	
System: NetBSD sigaba.research.att.com 1.6.1_STABLE NetBSD 1.6.1_STABLE (SIGABA) #7: Tue Sep 2 13:42:47 EDT 2003 smb@berkshire.research.att.com:/usr/src/sys/arch/i386/compile/SIGABA i386
Architecture: i386
Machine: i386
>Description:
	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
	package.

	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
	 k_pixbuf.so -L/usr/pkg/lib -L/usr/X11R6/lib /usr/pkg/lib/libtiff.so /usr/pkg/lib
	 /libjpeg.so /usr/pkg/lib/libpng.so /usr/lib/libz.so /usr/X11R6/lib/libgnomeui.so
	  /usr/X11R6/lib/libart_lgpl.so /usr/X11R6/lib/libgdk_imlib.so -lSM -lICE /usr/X1
	  1R6/lib/libgtk.so /usr/X11R6/lib/libgdk.so -lintl -lXi -lXext -lX11 /usr/X11R6/l
	  ib/libgnome.so /usr/X11R6/lib/libgnomesupport.so -lz -liconv -lc /usr/pkg/lib/li
	  besd.so -lossaudio /usr/pkg/lib/libaudiofile.so -lm /usr/pkg/lib/libglib.so /usr
	  /pkg/lib/libgmodule.so /usr/lib/libintl.so -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

>How-To-Repeat:
	Build.  Wait.  Observe.
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: