[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libtool version mismatch error persists after running `autoreconf -fvi`
From: |
Arman Eshaghi |
Subject: |
libtool version mismatch error persists after running `autoreconf -fvi` |
Date: |
Thu, 11 Sep 2014 12:44:21 +0430 |
Hi,
I'm trying to make my first project with adding a new binary to an old
project written in C/C++ on my machine with Ubuntu 14.04. First I need
to run ./setup_configure which runs the following script:
set cmd1=(rm -rf autom4te.cache)
if ( "`uname -s`" == "Darwin" ) then
set cmd2=(glibtoolize --force)
else
#set cmd2=(libtoolize --force)
set cmd2=(libtoolize -f -v)
endif
set cmd3=(aclocal)
set cmd4=(automake -a -c)
set cmd5=(autoreconf --force -Wno-portability)
set cmd6=(autoconf -Wno-portability)
and afterwards I need to run ./configure. Since I do not want to
compile the whole project I cd into the new sub-directory I have added
and run make, however, the process does not go smoothly and ends with
the following error:
/bin/bash ../libtool --tag=CC --mode=link g++ -I../include
-L/usr/lib64 -L/usr/X11R6/lib64 -L/opt/mni_library/lib
-L/opt/vxl/build/lib -o mri_segment_ms mri_segment_ms.o
../utils/libutils.a ../fsgdf/libfsgdf.a ../rgb/librgb.a
../unix/libunix.a ../dicom/libdicom.a ../hipsstubs/libhipsstubs.a
../log/liblog.a ../xml2/libxml2.a ../jpeg/libjpeg.a ../tiff/libtiff.a
../expat/libexpat.a -lz -lm -lcrypt -ldl -lpthread -lnetcdf
-lvolume_io -lminc -lvnl_algo -lvnl -lvcl -lnetlib -lv3p_netlib
../libtool: line 469: CDPATH: command not found
libtool: Version mismatch error. This is libtool 2.4.2
Debian-2.4.2-1.7ubuntu1, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2
Debian-2.4.2-1.7ubuntu1
libtool: and run autoconf again.
make: *** [mri_segment_ms] Error 63
I have found lots of Q&As regarding a similar problem over internet,
most of which suggest the user to run autoreconf -ivf. There is also a
comprehensive answer in Stackoverflow
(http://stackoverflow.com/questions/3096989/libtool-version-mismatch-error).
I have performed all the suggested steps, unfortunately the problem
persists. I was wondering whether anyone could give me a hint.
Thanks
Arman
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- libtool version mismatch error persists after running `autoreconf -fvi`,
Arman Eshaghi <=