Subject: libintl problems (buildlink related?)
To: None <tech-pkg@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: tech-pkg
Date: 03/18/2004 17:02:58
Hi!
I'm trying to compile ethereal on Slackware Linux without luck:
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
I've even tried this patch:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/ethereal/Makefile,v
retrieving revision 1.91
diff -u -r1.91 Makefile
--- Makefile 14 Feb 2004 17:21:46 -0000 1.91
+++ Makefile 18 Mar 2004 14:14:55 -0000
@@ -38,6 +37,7 @@
PTHREAD_OPTS= require
+.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"
.include "../../net/libpcap/buildlink2.mk"
.include "../../net/net-snmp/buildlink2.mk"
# ls /usr/include/libintl.*
/usr/include/libintl.h
# ls /usr/lib/libintl.*
ls: /usr/lib/libintl.*: No such file or directory
# ls /usr/pkg/include/*intl*
ls: /usr/pkg/include/*intl*: No such file or directory
# 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
Any ideas? My pkgsrc was updated 10 minutes ago...
Martti