Re: Can't find the library . . .



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.

> 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

-- 
CYa,
  Mario | Debian Developer <URL:http://debian.org/>
        | Get my public key via finger mlang db debian org
        | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44



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