Subject: libtool: link: cannot find the library `'
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 03/11/2004 13:00:47
What is the best way to see why I get this error when building misc/yelp
and when building devel/eel2?
libtool: link: cannot find the library `'
My misc/yelp/work.puget/.work.log has:
=3D=3D> Reordering libraries: -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomec=
anvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgnomevfs-2 -lbonobo-=
2 -lbonobo-activation -lxslt -lglade-2.0 -lgconf-2 -lORBit-2 -lgthread-2.0 =
-lgtkhtml-2 -lgtk-x11-2.0 -lxml2 -lz -liconv -lgdk-x11-2.0 -latk-1.0 -lgdk_=
pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmod=
ule-2.0 -ldl -lglib-2.0 -lz -lbz2
<.> /usr/bin/libtool --mode=3Dlink gcc -pthread -DORBIT2=3D1 -I/usr/include=
/gnome-vfs-2.0 -I/scratch/pkgsrc/misc/yelp/work.puget/.buildlink/lib/gnome-=
vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/glib/gl=
ib-2.0 -I/scratch/pkgsrc/misc/yelp/work.puget/.buildlink/lib/glib-2.0/inclu=
de -I/usr/include/orbit-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libb=
onobo-2.0 -I/usr/include/gconf/2 -I/usr/include/libgnomeui-2.0 -I/usr/inclu=
de/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/u=
sr/include/libbonoboui-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype=
2 -I/scratch/pkgsrc/misc/yelp/work.puget/.buildlink/lib/gtk-2.0/include -I/=
usr/include/atk-1.0 -I/scratch/pkgsrc/misc/yelp/work.puget/.x11-buildlink/i=
nclude -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gt=
khtml-2.0 -g -I/scratch/pkgsrc/misc/yelp/work.puget/.buildlink/include -I/s=
cratch/pkgsrc/misc/yelp/work.puget/.buildlink/gcc3/include -Wall -Wno-unini=
tialized -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-co=
mpare -Wl,-R/usr/gcc3/lib/gcc-lib/i386-pc-linux/3.3.3 -Wl,-R/usr/gcc3/lib -=
Wl,-R/usr/X11R6/lib -o yelp-man2html yelp-man2html.o -pthread -Wl,--export-=
dynamic -L/scratch/pkgsrc/misc/yelp/work.puget/.buildlink/gcc3/lib/gcc-lib/=
i386-pc-linux/3.3.3 -L/scratch/pkgsrc/misc/yelp/work.puget/.buildlink/gcc3/=
lib -L/scratch/pkgsrc/misc/yelp/work.puget/.buildlink/lib -L/scratch/pkgsrc=
/misc/yelp/work.puget/.x11-buildlink/lib -lgnomeui-2 -lSM -lICE -lbonoboui-=
2 -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgnomevfs-2=
-lbonobo-2 -lbonobo-activation -lxslt -lglade-2.0 -lgconf-2 -lORBit-2 -lgt=
hread-2.0 -lgtkhtml-2 -lgtk-x11-2.0 -lxml2 -lz -liconv -lgdk-x11-2.0 -latk-=
1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-=
2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lz -lbz2
I am guessing that the buildlink3 system is removing some parts. So I
diffed some output in the .work.log with the output I saw during the
build, but I didn't see any empty "-L".
Maybe the buildlink3 system can have a check for an empty "-L" or whatever
caused that problem.
(This is under Linux with LOCALBASE as /usr.)
Jeremy C. Reed
http://www.reedmedia.net/