Building bind-9.2.0-0.rc3.1.src.rpm on Red Hat 7.1. libtool fails,
complaining that ltconfig's version does not match version of ltmain.sh.
Checking bind's BUILD/bind-9.2.0rc3/libtool against /usr/bin/libtool, it
appears that LTCONFIG_VERSION is not defined in the bind-supplied copy of
Workaround is to predefine LTCONFIG_VERSION:
rpm --rebuild bind-9.2.0-0.rc3.1.src.rpm
The alternative fix is to update your libtool. No problems here on a rawhide
system with libtool 1.4.2 (and rawhide RPMs don't need to compile on older
I'll add the check and possible export in the next build (after 0.rc4.1, that
is - 0.rc4.1 has been in the internal tree for a while).
*** Bug 54257 has been marked as a duplicate of this bug. ***
Added a workaround in 9.2.0-0.rc5.1
updating libtool gives strange depenencies:
php (as shipped which 7.1) requires libltdl.so, but in a different major version
than the one supllied by libtool-libs-1.4-8. This makes you update php because
you want to compile bind.
IMHO adding the aclocal and autoconf to the spec file has fewer side effects.