Subject: Re: problem with libintl and libtool
To: None <tech-pkg@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-pkg
Date: 10/26/2002 19:22:18
On Sat, Oct 26, 2002 at 04:55:18PM +0200, Manuel Bouyer wrote:
> Hi,
> trying to build devel/gal from pkgsrc current:
> /bin/sh ../../libtool --mode=link cc -O2 -I/usr/pkg/include -I/usr/X11R6/includ e -Wall -Wunused -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr /pkg/lib -o test-color test-color.o -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/us r/pkg/lib -Wl,-R/usr/pkg/lib -lgnomeprint -lfreetype -lglade-gnome -lglade -lxml -lz -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgnome -lgnomesupport -lesd -l ossaudio -laudiofile -lgdk_pixbuf -lgtk -lgdk -lgmodule -lglib -lintl -lXi -lXex t -lX11 -lm -lgnomecanvaspixbuf -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -lgdk_imli b -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L /usr/X11R6/lib -lgtk -lgdk -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgmodule -lglib -l intl -lXi -lXext -lX11 -lm -lintl ../../gal/widgets/libwidgets.la ../../gal/util/libutil.la -lintl
> libtool: link: cannot find the library `/usr/lib/libintl.la'
>
> Any idea why it's trying to use a .la instead of the normal library here ?
> There is a libintl.la in .buildlink/lib, the other libintl files points
> to versions of /usr/lib/
It looks like it's using its own libtool, instead of .buildlink/bin/libtool
If I change the makefiles to use buildlink's libtool, it compiles.
Looking at what other package do, work/gal-0.19.3/libtool should be
a symlink to ../.buildlink/bin/libtool, but it's not created here.
Any idea what could cause this ?
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 23 ans d'experience feront toujours la difference
--