When building my application with kdevelop 3.5 on Ubuntu 10.04, I get the following errors:
libtool: Version mismatch error. This is libtool 2.2.6 Debian-2.2
Try
autoreconf -i
The -i
option is important.
I solve that uninstalling system's libtool and installing from upstream: git clone git://git.savannah.gnu.org/libtool.git
sudo apt-get install texinfo autoconf automake make ./bootstrap ./configure make sudo make install
None of the above worked. After I deactivated the conda environment, it worked:
source deactivate
I also encounter this issue. In my case, in the output of ./autogen.sh, there is:
libtoolize: You should add the contents of the following files to 'aclocal.m4': libtoolize: '/aclocal/libtool.m4' libtoolize: '/aclocal/ltoptions.m4' libtoolize: '/aclocal/ltversion.m4' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
I just append the content the three *.m4 files under /aclocal/ to the aclocal.m4 file:
cat <a path>/aclocal/libtool.m4 <a path>/aclocal/ltoptions.m4 <a path>/aclocal/ltversion.m4 >> aclocal.m4
then make.
Try running aclocal
maybe you have installed two libtools of different version. Try to apt-get remove all
(until you get nothing, when you type which libtool
in the command line), then apt-get install
the one you like.