Subject: Re: problem with libintl and libtool
To: Julio Merino <>
From: Manuel Bouyer <>
List: tech-pkg
Date: 10/26/2002 18:22:43
On Sat, Oct 26, 2002 at 06:14:18PM +0200, Julio Merino wrote:
> On Sat, 26 Oct 2002 16:55:18 +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/         ../../gal/util/ -lintl
> > libtool: link: cannot find the library `/usr/lib/'
> > 
> > Any idea why it's trying to use a .la instead of the normal library here ?
> I do: USE_GNU_GETTEXT=yes... although, I do not know why it does search the
> .la instead of regular .so files. libtool weirdness ;)

Well, no, there's no USE_GNU_GETTEXT for this package, and it properly
pulled up the /usr/lib version.
The only problem is that it's trying to use /usr/lib/ (which don't
exists) instead of ${WRKDIR}/.buildinnk/lib/ (which does exist)

Manuel Bouyer <>