bug-libtool
[Top][All Lists]
Advanced

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

Re: Typo in ltmain.in and ltmain.sh in libtool-1.5.26 ?


From: Peter Rosin
Subject: Re: Typo in ltmain.in and ltmain.sh in libtool-1.5.26 ?
Date: Tue, 10 Feb 2009 10:49:29 +0100
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

Den 2009-02-06 21:14 skrev Ian Spray:
Hi,

When using libtool as part of pkgsrc, I seem to have found a typo (vi/vim insert mode ?) on the declaration of instmain that rewrites .la files to .lai files in some circumstances.

Unified diffs shown below:

*snip*
(but if libtool 1.5 hadn't been "dead", you'd only need to patch ltmain.in)


I realise this isn't a full bugreport, but the way I triggered this was to compile pkgsrc/databases/db4 on OpenSolaris 2008.11 (which is beyond the scope of this list), but I can confirm that removing this extraneous 'i' does indeed stop mapping the .la into .lai in my build.

HTH,

I think something else is going on. The .la file you are installing
by using that patch is probably the "uninstalled" libtool library,
which is not what you want to install. The .lai file should have been
generated earlier and is the libtool library as it is intended to
look in the future installation location.

So, you need to look for the cause for the missing .lai file instead
of installing the wrong version of the .la file.

If the .la file you are installing with your patch contains:
# Is this an already installed library?
installed=no

then you know you did the wrong thing.

Cheers,
Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]