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

Re: serious libtool 1.4 breakage?



> It seems that libtool 1.4 is seriously broken with respect to creating
> Debian packages, as per bug #98342.
> 
> In short, problems occur because libtool now supports interdependencies
> between shared libraries, but this is broken when doing a
> 
> make install prefix=`pwd`/debian/tmp/usr 

  I've encountered same problem when building gtk+ HEAD .deb from GNOME
CVS, so I modified /usr/share/libtool/ltmain.sh like this:

--- ltmain.sh.orig	Fri May 11 05:34:59 2001
+++ ltmain.sh	Thu May 31 02:14:09 2001
@@ -1862,6 +1862,7 @@
 	    else
 	      # We cannot seem to hardcode it, guess we'll fake it.
 	      add_dir="-L$libdir"
+	      test -d $ladir/.libs && add_dir="$add_dir -L$ladir/.libs"
 	      add="-l$name"
 	    fi
 

  I'm not sure this is the right solution for this problem, but it
works fine in my environment.

  KUSANO Takayuki <URL:http://www.asahi-net.or.jp/~AE5T-KSN/>



Reply to: