Reply to myself. Running libtoolize with a fixed libtool (for example the one in unstable) should fix the problem. Thanks to Ryan Murray and James Henstridge for actually tracking down the problem. On Wed, 2002-03-20 at 02:45, Bastien Nocera wrote: > Subject says it all: > > http://buildd.debian.org/fetch.php?&pkg=libgnomecanvas&ver=1.112.1-1&arch=powerpc&stamp=1015528114&file=log&as=raw > > I tested the rebuild on my machine and it works... It's weird. It's > probably because I have a previous version of libgnome-canvas installed > at that point. Conclusion: libtool is shite. > > Here's the interesting bit when doing the make install: > > libtool: install: warning: relinking `libcanvas.la' > cd /build/buildd/libgnomecanvas-1.112.1/glade; /bin/sh ../libtool > --mode=relink gcc -g -O2 -o libcanvas.la -rpath /usr/lib/libglade/2.0 > -export-dynamic -module -avoid-version glade-canvas.lo > ../libgnomecanvas/libgnomecanvas-2.la -L/usr/X11R6/lib -lxml2 -lz > -lglade-2.0 -lpangoft2 -lart_lgpl_2 -lpango -lglib-1.3 -lgmodule-1.3 > -ldl -lgobject-1.3 -lpangoxft -lXft -lXrender -lXext -lfreetype -lpangox > -lX11 -lgdk_pixbuf-1.3 -lm -latk -lgdk-x11-1.3 -lgtk-x11-1.3 > gcc -shared glade-canvas.lo -L/usr/X11R6/lib -L/usr/lib > -lgnomecanvas-2 -lxml2 -lz -lglade-2.0 -lpangoft2 -lart_lgpl_2 -lpango > -lglib-1.3 -lgmodule-1.3 -ldl -lgobject-1.3 -lpangoxft -lXft -lXrender > -lXext -lfreetype -lpangox -lX11 -lgdk_pixbuf-1.3 -lm -latk > -lgdk-x11-1.3 -lgtk-x11-1.3 -Wl,-soname -Wl,libcanvas.so -o > .libs/libcanvas.so > /usr/bin/ld: cannot find -lgnomecanvas-2 > collect2: ld returned 1 exit status > libtool: install: error: relink `libcanvas.la' with the above command > before installing it > > Anybody knows how to fix this ? I've seen libtool patches flying around > the desktop-devel list, but apparently it also breaks other stuff. > > Cheers > > -- > /Bastien Nocera > http://hadess.net -- /Bastien Nocera http://hadess.net
Attachment:
signature.asc
Description: This is a digitally signed message part