Subject: Re: libintl problems (buildlink related?)
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 03/18/2004 08:49:57
On Thu, 18 Mar 2004, Martti Kuparinen wrote:
> sr/pkg/lib/libgthread-2.0.so -lglib-2.0 -lpthread /usr/pkg/lib/libglib-2.0.so
> -lintl -lc /usr/pkg/lib/libz.so -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/libintl.so /usr/pkg/lib/libintl.so.4.0
> /usr/pkg/lib/libintl.la /usr/pkg/lib/libintl.so.4
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
http://www.reedmedia.net/