Subject: Re: libintl problems (buildlink related?)
To: Martti Kuparinen <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 03/18/2004 08:49:57
On Thu, 18 Mar 2004, Martti Kuparinen wrote:

> sr/pkg/lib/ -lglib-2.0 -lpthread /usr/pkg/lib/
> -lintl -lc /usr/pkg/lib/ -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath
> -Wl,/usr/pkg/lib
> /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld:
> cannot find -lintl
> collect2: ld returned 1 exit status
> rm -f .libs/etherealS.o
> *** Error code 1

Can you see where libintl is coming from?

Maybe this will help:

find work/.buildlink -name "*.la" | xargs grep intl

> # ls /usr/pkg/lib/libintl.*
> /usr/pkg/lib/libintl.a   /usr/pkg/lib/    /usr/pkg/lib/
> /usr/pkg/lib/  /usr/pkg/lib/

That is a problem with gettext-libs and Linux. It is not needed on your
system and can conflict with the functions already provided in your glibc.

My gettext-runtime package (at pkgsrc-wip) doesn't install those libraries
on a glibc system.

And I make sure the out-of-date devel/gettext* package do not install.
And I make symlinks for the devel/gettext-libs/buil*mk files to the
wip/gettext-runtime/ files.

   Jeremy C. Reed