Subject: Re: pkg/18491: sysutils/gnome-vfs2 doesn't compile
To: None <tech-pkg@netbsd.org>
From: Bang Jun-Young <junyoung@netbsd.org>
List: tech-pkg
Date: 12/10/2002 00:08:07
> cc -I/u0/work/NetBSD/pkgsrc/sysutils/gnome-vfs2/work/.buildlink/include -O2 -Wl,-R/usr/pkg/lib -o .libs/test-vfolder test-vfolder.o -Wl,-R/usr/pkg/lib  -L/u0/work/NetBSD/pkgsrc/sysutils/gnome-vfs2/work/.buildlink/lib ../../libgnomevfs/.libs/libgnomevfs-2.so /usr/pkg/lib/libgconf-2.so -L/usr/pkg/lib /usr/pkg/lib/libbonobo-activation.so /usr/pkg/lib/libpopt.so /usr/pkg/lib/libORBit-2.so -llinc -lgthread-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv -lpopt /usr/pkg/lib/liblinc.so /usr/pkg/lib/libgmodule-2.0.so /usr/pkg/lib/libgobject-2.0.so /usr/pkg/lib/libgthread-2.0.so -lPTL /usr/pkg/lib/libglib-2.0.so -lintl /usr/pkg/lib/libxml2.so /usr/pkg/lib/libiconv.so -lz -lm /usr/pkg/lib/libintl.so -Wl,--rpath -Wl,/usr/pkg/lib
> ../../libgnomevfs/.libs/libgnomevfs-2.so: undefined reference to `bind_textdomain_codeset'

The above error is now magically gone, but a new problem is arising:

===> Building for gnome-vfs2-2.0.4nb2
[snip]
gmake[3]: Entering directory `/usr/pkgsrc/sysutils/gnome-vfs2/work/gnome-vfs-2.0.4/modules'
/bin/sh ../libtool --mode=link cc  -O2 -I/usr/pkg/include -I/usr/X11R6/include  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o libfile.la -rpath /usr/pkg/lib/gnome-vfs-2.0/modules -export_dynamic -avoid-version -module -L../libgnomevfs/.libs file-method.lo fstype.lo -lfam -Wl,-R/usr/pkg/lib   -Wl,-R/usr/pkg/lib  -Wl,--export-dynamic   -Wl,-R/usr/pkg/lib  -L/usr/pkg/lib -lgmodule-2.0 -lgthread-2.0 -lpthread -lglib-2.0 -lintl -liconv   ../libgnomevfs/libgnomevfs-2.la -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lintl
grep: /usr/local/lib/libstdc++.la: No such file or directory
sed: /usr/local/lib/libstdc++.la: No such file or directory
libtool: link: `/usr/local/lib/libstdc++.la' is not a valid libtool archive

Hmm.. why did libtool try to find libstdc++.la in /usr/local/lib? There
was no file like it in /usr/local/lib.

Jun-Young

-- 
Bang Jun-Young <junyoung@netbsd.org>