Subject: Re: ld: cannot find -liconv
To: None <current-users@netbsd.org>
From: Michal 'hramrach' Suchanek <hramrach_l@centrum.cz>
List: current-users
Date: 10/23/2003 11:18:39
On Mon, Oct 20, 2003 at 09:50:51AM +0200, Martin Schmitz wrote:
> Hello list,
> 
> after updating to -current several packages fail to build. mjpegtools
> for example or gdk-pixbuf-gnome stop compiling with the message:
> 
> ld: cannot find -liconv
> 
> Of course libiconv is installed and several other packages doesn't run
> into problems finding it.
> 
> Does anyone know the solution?

Try manually running 
ln -s /usr/pkg/lib/libiconv* pkgsrc/your-package/work/.buildlink/lib

It works as a workaround for me.
I tried ubgrading libiconv to 1.9.1nb1 and it did not help.

I have pkgsrc/my_package/work/.buildlink/.iconv_buildlink_done saying:
/usr/include/iconv.h
/usr/include/libcharset.h: not found
/usr/lib/libcharset.*: not found
/usr/lib/libiconv.*: not found

And I have no iconv package.

-- 
Michal Suchanek
hramrach@centrum.cz