Subject: Re: buildlink problem? (libiconv.la: No such file or directory)
To: Sebastian P. <sebastian-p@gmx.net>
From: Stephen Degler <stephen@degler.net>
List: tech-pkg
Date: 06/28/2003 19:30:52
Hello,

working with -current? The iconv functions have been added recently and it 
changes the behaviour of the /usr/pkgsrc/converters/libiconv/buildlink2.mk 
script under NetBSD.  I have two problems as a result of this:

1) Libraries that already exist and depend on libiconv now can't resolv their 
dependencies when used by other packages.  and example I had was
libiconv --> libxml2 --> libxslt.  Going back and rebuilding libxml2 fixed 
this for me.

2) packages that define USE_GNU_ICONV=yes fail when they are in turn used by 
other packages.  One workaround may be to propagate USE_GNU_ICONV=yes via 
their respective buildlink.mk scripts?  I'm seeing this in glib2 -> atk and  
glib2 -> pango.  Just removing USE_GNU_ICONV might work but I assume it was 
added to glib2 for a reason.

Can someone more familiar with buildlink and pkgsrc take a look at this?

skd
 
On Friday 27 June 2003 02:47 pm, Sebastian P. wrote:
> hi
> i have problems installing devel/atk and devel/pango.
> both builds stop with the error:
> sed: can't read /usr/pkgsrc/.../work/.buildlink/lib/libiconv.la: No such
> file or directory.
> looks strange to me since i have libiconv installed (and the missing files
> are in /usr/local/lib ...). manualy copying the .la file and linking the
> library into the buildlink/lib dir solves the problem
> does anybody has an idea why this is the case?
>
> (my machine is a slackware 9 box:
>   Linux 2.4.21-ck3 #2 Mon Jun 23 20:15:38 CEST 2003 i686 AuthenticAMD)
>
>
> bye
> Sebastian