Re: Can't find the library . . .



On Mon, 2003-10-27 at 11:44, Mario Lang wrote:
> Malcolm Tredinnick <malcolm commsecure com au> writes:
> 
> > On Sat, 2003-10-25 at 00:58, Nolan J. Darilek wrote:
> >> I've been attempting to build the latest CVS gnopernicus, as I've
> >> upgraded and downgraded numerous debian packages and my old compile no
> >> longer works. I'm receiving the following error, though, and was
> >> hoping someone could suggest something:
> >> 
> >> /bin/sh ../../libtool --mode=link gcc  -g -O2   -o test  test.o ../libsrconf/libsrconf.la ../../srutil/libsrutil.la -Wl,--export-dynamic -pthread -L/usr/local/stow/atk/lib -L/usr/local/stow/at-spi/lib -lgconf-2 -lcspi -lspi -lbonobo-2 -lgtk-x11-2.0 -lbonobo-activation -lORBit-2 -lgthread-2.0 -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   -lpopt 
> >> mkdir .libs
> >> libtool: link: cannot find the library `'
> >> make[3]: *** [test] Error 1
> >> make[3]: Leaving directory `/home/nolan/src/cvs/gnome/gnopernicus/srconf/test'
> >> 
> >> Any ideas what might be causing this? More importantly, which library
> >> can't be found?
> >
> > This is usually a sign of one of libtools scripts becoming corrupted or
> > horribly confused in some other way.
> 
> I am seeing the same problem since an apt-get upgrade of sid on Friday
> last week.

OK, so did libtool get upgraded as part of that upgrade? If so, what
version are you trying to run. If there are compatibility problems with
libtool again then (a) I am disappointingly unsurprised, (b) it's
extremely annoying, and (c) we really need to fix or everything is going
to explode.

Gnopernicus does nothing special at all w.r.t libtool, so if it is
broken for current Sid users then half of GNOME is going to be broken.

If libtool was upgraded for you, can you file a bug report for the
gnome-common module and mark it urgent or something, please? Then I will
see it and can keep some records to point others at. Gnopernicus uses
gnome-common for this stuff, so that is where it needs to be fixed.

> > The first thing to try and track down the problem (or to just plain make
> > it disappear) is to start with a very clean gnopernicus source tree.
> 
> This problem also happens with a completely clear source base.  It
> seems that the libtool script generated at configure time suddenly has
> got problems coping with the -pthread argument.  The following patch
> seems to fix the compile problem, however, I am currently totally at a
> loss as to what the real source of the problem is.
> 
> --- ltmain.sh.orig	2003-10-27 01:38:45.000000000 +0100
> +++ ltmain.sh	2003-10-27 01:31:54.000000000 +0100
> @@ -1534,6 +1534,7 @@
>  	  alldeplibs=yes
>  	  continue
>  	  ;;
> +	-pthread) continue;;
>  	esac # case $deplib
>  	if test "$found" = yes || test -f "$lib"; then :
>  	else

Yuk. What a terrible place to have to apply a patch. :-(

We *really* have to fix this if it's something libtool related. It's
going to become problem-of-the-week otherwise.

Cheers,
Malcolm



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]