Subject: Re: A small gnome-libs patch
To: None <tech-pkg@NetBSD.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: tech-pkg
Date: 10/07/2003 12:50:36
Thomas Klausner wrote:

> Also, why doesn't it work?


/bin/sh ../libtool --mode=link gcc -O2 -I/usr/pkg/include -I/usr/X11R6/include 
-Wall -Wunused  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib 
-Wl,-R/usr/X11R6/lib -o gnome-dump-metadata -L/usr/pkg/lib -Wl,-R/usr/pkg/lib 
-lglib gnome-dump.o libgnome.la ../support/libgnomesupport.la -L/usr/pkg/lib 
-Wl,-R/usr/pkg/lib -lesd -laudiofile -lm -L/usr/pkg/lib -Wl,-R/usr/pkg/lib 
-laudiofile -lm -ldb -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lglib  -lintl -lz -lm
gcc -O2 -I/usr/pkg/include -I/usr/X11R6/include -Wall -Wunused 
-Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -o .libs/gnome-dump-metadata 
-Wl,-R/usr/pkg/lib gnome-dump.o -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib 
-Wl,-R/usr/pkg/lib  -L/usr/pkg/lib -L/usr/X11R6/lib ./.libs/libgnome.so 
../support/.libs/libgnomesupport.so /usr/pkg/lib/libesd.so -lm 
/usr/pkg/lib/libaudiofile.so -lm -ldb /usr/pkg/lib/libglib.so 
/usr/pkg/lib/libintl.so /usr/pkg/lib/libz.so -lm -Wl,--rpath 
-Wl,/usr/X11R6/lib -Wl,--rpath -Wl,/usr/pkg/lib
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../../i386-slackware-linux/bin/ld: 
cannot find -lintl
collect2: ld returned 1 exit status
make[2]: *** [gnome-dump-metadata] Error 1


# ls /usr/include/*intl*
/usr/include/libintl.h

# ls /usr/lib/*intl*
/bin/ls: /usr/lib/*intl*: No such file or directory


# ls /usr/pkg/lib/*intl*
/usr/pkg/lib/libintl.a    /usr/pkg/lib/libintl.so.4@
/usr/pkg/lib/libintl.la   /usr/pkg/lib/libintl.so.4.0
/usr/pkg/lib/libintl.so@

# ls work/.buildlink/lib/*intl*
/bin/ls: work/.buildlink/lib/*intl*: No such file or directory

# ls -l work/.buildlink/include/*intl*
lrwxrwxrwx    1 root     root           22 Oct  7 12:44 
work/.buildlink/include/libintl.h -> /usr/include/libintl.h