cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: libtoolize breaking me on 7.8

From: <curl_at_thewrittenword.com>
Date: Sat, 16 Jun 2001 13:55:57 -0500

On Tue, Jun 12, 2001 at 10:31:23AM -0700, Troy Engel wrote:
> Howdy troopers -- I'm trying to build new RPMs for RedHat 6.2 from
> curl-7.8, but it's breaking with a rather cryptic error:
>
> ==
> make[2]: Entering directory `/usr/src/redhat/BUILD/curl-7.8/lib'
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
> -I../src -I../include -g -O2 -c file.c
> libtool: ltconfig version `' does not match ltmain.sh version `1.3.4'
> Fatal configuration error. See the libtool docs for more information.
> ==
>
> Hrm, odd. So, if you compile it by hand it works fine; however, when
> the RPM build process invokes, it runs "libtoolize --copy --force" (took
> awhile to figure this one out). So, when I do that as well before
> running ./configure I see:

The above error is because your have a version of libtool on your
system that is < 1.4. Libtool 1.3.x copied a ltconfig and ltmain.sh
file into the build source. Libtool 1.4.x has only ltmain.sh and
ltconfig is generated automatically by ./configure (just look at the
size of aclocal.m4 before/after libtoolize/aclocal).

-- 
albert chin (china_at_thewrittenword.com)
Received on 2001-06-16