Subject: pkgsrc error with libintl.la
To: NetBSD users <netbsd-users@netbsd.org>
From: Sam Carleton <scarleton-netbsdusers@miltonstreet.com>
List: netbsd-users
Date: 03/02/2004 09:15:41
I am getting a strange error while compiling net/wget from pkgsrc:

===> Building for wget-1.9.1

cd src && /usr/bin/make CC='gcc' CPPFLAGS='-I/usr/pkg/include'
DEFS='-DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/pkg/etc/wgetrc\"
-DLOCALEDIR="\"/usr/pkg/share/locale\""'  CFLAGS='-O2
-I/usr/pkg/include' LDFLAGS='-L/usr/pkg/lib -Wl,-R/usr/pkg/lib
-L/usr/pkg/lib  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
-Wl,-R/usr/pkg/lib' LIBS='-lintl -lssl -lcrypto  -lintl'
prefix='/usr/pkg' exec_prefix='/usr/pkg' bindir='/usr/pkg/bin'
infodir='/usr/pkg/info' mandir='/usr/pkg/man' manext='1'

/bin/sh ../libtool --mode=link gcc -O2 -I/usr/pkg/include
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib  -Wl,-R/usr/pkg/lib
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o wget  cmpt.o connect.o
convert.o cookies.o               ftp.o ftp-basic.o ftp-ls.o
ftp-opie.o  hash.o  headers.o host.o html-parse.o html-url.o http.o
init.o       log.o main.o gen-md5.o netrc.o progress.o rbuf.o
recur.o    res.o retr.o safe-ctype.o snprintf.o gen_sslfunc.o url.o
utils.o version.o -lintl -lssl -lcrypto  -lintl

libtool: link: `/usr/pkgsrc/net/wget/work/.buildlink/lib/libintl.la' is not a valid libtool archive

I searched all of pkgsrc and discovered that this lib exists within a
number of other packages that I have built, also. All without
problems.  Any ideas?

Sam