On 1/8/06, BJörn Lindqvist <[EMAIL PROTECTED]> wrote: > Hello everyone. > > I'm building evolution-exchange from CVS with jhbuild. I get the > following build error: > > make[2]: Entering directory > `/home/bjourne/cvsgnome/sources/evolution-exchange/storage' > /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall > -Wmissing-prototypes -Wnested-externs -Wpointer-arith > -Wno-sign-compare -Wno-sign-compare -o evolution-exchange-storage > exchange-autoconfig-wizard.o exchange-component.o > exchange-config-listener.o exchange-change-password.o > exchange-migrate.o exchange-storage.o main.o > ../mail/libexchangemail.la ../addressbook/libexchangeaddressbook.la > ../calendar/libexchangecalendar.la ../camel/camel-stub-marshal.lo > -pthread -L/home/bjourne/cvsgnome/install/lib/evolution/2.6 > -L/home/bjourne/cvsgnome/install/lib -L/usr/X11R6/lib -leshell > -ledataserverui-1.2 -ledata-book-1.2 -lebook-1.2 -ledata-cal-1.2 > -lecal-1.2 -lsoup-2.2 -lgnutls -ltasn1 -lgcrypt -lgpg-error > -lglade-2.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-keyring > -lgnomecanvas-2 -lgnome-2 -lpopt -lpangoft2-1.0 -lgtk-x11-2.0 > -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo > -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation -lORBit-2 > -lgthread-2.0 -lgnomeprint-2-2 -lart_lgpl_2 -lxml2 -lz -lm -lpango-1.0 > -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lcamel-1.2 > -lcamel-provider-1.2 -ledataserver-1.2 -pthread > -L/home/bjourne/cvsgnome/install/lib > -L/home/bjourne/cvsgnome/install/lib/evolution/2.6 -L/usr/X11R6/lib > -leshell -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-keyring > -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -ledataserverui-1.2 > -lglade-2.0 -lebook-1.2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 > -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgnome-2 -lpopt > -ledataserver-1.2 -lgnomevfs-2 -lgobject-2.0 -lexchange-storage-1.2 > -lsoup-2.2 -lgnutls -ltasn1 -lgcrypt -lgpg-error -lbonobo-2 > -lbonobo-activation -lxml2 -lz -lgconf-2 -lORBit-2 -lm -lgmodule-2.0 > -ldl -lgthread-2.0 -lglib-2.0 > libtool: link: cannot find the library `/usr/lib/libsoup-2.2.la' > > libtool is correct that there is no libsoup-2.2.la file in /usr/lib. > However ~/cvsgnome/install/lib/libsoup-2.2.la exists (because jhbuild > installs libsoup-2.2). evolution-exchange was configured with > --prefix=~/cvsgnome/install so I think libtool should be able to find > that .la-file that it wants. I "solved" this problem by installing the > package libsoup2.2-dev which puts a libsoup-2.2.la file in /usr/lib. > But since jhbuild fetches a libsoup-2.2 from cvs I naturally want to > link evolution-exchange with that libsoup instead. So I'm thinking > that this is either a problem with libtool (maybe it has /usr/lib > hardcoded?) or with jhbuild or maybe with evolution-exchange.
I remember reading about something like this, though I don't remember where. IIRC and if this happens to be the same situation, the problem is not that evolution-exchange is attempting to get libsoup from /usr/lib, but rather that one of the libs it depends on has somehow been compiled/linked/whatever so that it depends upon /usr/lib/libsoup-2.2.la and thus that lib is the one trying to pull it in. I believe that running ldd on a bunch of the libs in $prefix/lib/ that are being linked in that line might help you find the culprit. Hope that helps, Elijah _______________________________________________ gnome-love mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-love
