[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#3928) Libtool relinks overlays with bad library paths during install target

Kurt@OpenLDAP.org wrote:
> I note that for this patch to be at all useful, it needs
> to be against latest HEAD.   I also have doubts that
> its as simple as some make this out to be.  I spent
> a better part of a long weekend on this before realizing
> that many of our existing macros were unusable.  Last
> night, in response to Howard's recent -devel post,
> tried the same basic steps you did (though I didn't
> run automake and did run autoheader) and got a quite
> useless configure script.   But I am quite willing to be
> proven wrong!  I, too, wouldn't mind seeing an upgrade
> to the latest libtool.  And the latest autoconf might
> be useful as well (as they improved a number of the
> macros).

Yes, I did some more testing too. Running autoconf 2.59's autoupdate 
found many problems in openldap.m4, so that's definitely going to 
require a fair amount of work.
> Kurt
> At 09:46 AM 8/11/2005, bgmilne@obsidian.co.za wrote:
>> Hash: SHA1
>> bgmilne@mandriva.org wrote:
>>> Kurt D. Zeilenga wrote:
>>>>> The provided patch does nothing to upgrade ltmain.sh and,
>>>>> more importantly, configure.in and *.m4 files, to support
>>>>> a more modern libtool version.  Hence, the patch cannot
>>>>> be accepted.
>>> Indeed, the rest of the fix in our package was running libtoolize --copy
>>> --force (and a few others to update to a more current automake and
>>> autoconf).
>>>>> However, this ITS can remain open as a request to upgrade
>>>>> the build environment to support a more modern libtool
>>>>> version.  Unfornutely, that is not all that easy (otherwise
>>>>> it would have been done long ago).
>>> If the remaining issues could be listed, I will can see what I can do
>>> (ie towards a working patch).
>> OK, I have an initial patch (taken after removing configure and running
>> 'libtoolize --copy --force;aclocal-1.9;automake-1.9 -a -c -f;autoconf):
>> http://www.zarb.org/~bgmilne/openldap-2.3.4-update-autotools.patch.bz2
>> Unfortunately another patch may have crept in, and I guess the copyright
>> notices probably need to be preserved, but is this going in the right
>> direction?
>> It at least allows me to build on RHEL3 without linking to old libs.
>> I'll try and finish it up tomorrow.
>> Regards,
>> Buchan
>> - --
>> Buchan Milne                              Systems Architect
>> Obsidian Systems                  http://www.obsidian.co.za
>> B.Eng          RHCE (803004789010797),LPIC-1 (LPI000074592)
>> Version: GnuPG v1.4.0 (GNU/Linux)
>> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>> 8Vgd5Accd+IjifhEUXGqjyo=
>> =ZJ5P
>> -----END PGP SIGNATURE-----

  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/