Subject: Re: problem with libintl and libtool
To: Manuel Bouyer <>
From: Julio Merino <>
List: tech-pkg
Date: 10/26/2002 18:14:18
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 ;)

I would like to know if it is possible to fix packages to use the .so version
instead, so that gnome2 packages that currently use USE_GNU_GETTEXT can be
fixed to use NetBSD's version. Anybody knows how to do it? (the thing is that
some packages use the .so and some others the .la).

Thank you!

Julio Merino ( <>