Libtool version mismatch

Zoltán Szabó <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <CAJrD+veTjdyr=6yWDV-zxeWXjyKHSSnH3H4OBpgw+BBKuu9ctw@mail.gmail.com>
Hi,

I have a weird issue with libtool after upgrading from debian 6 to 7. if I
try to build something (freeswitch in this case) which uses libtool, I get
the following:

cd freeswitch.git && make
make[1]: Entering directory `/usr/src/freeswitch.git'
gcc -o /usr/src/freeswitch.git/build/print_git_revision
/usr/src/freeswitch.git/build/print_git_revision.c
config.status: creating Makefile
config.status: creating include/apr.h
config.status: creating build/apr_rules.mk
config.status: creating build/pkg/pkginfo
config.status: creating apr-1-config
config.status: WARNING:  'apr-config.in' seems to ignore the --datarootdir
setting
config.status: creating apr.pc
config.status: creating test/Makefile
config.status: creating test/internal/Makefile
config.status: creating include/arch/unix/apr_private.h
config.status: executing libtool commands
rm: cannot remove `libtoolT': No such file or directory
./config.status: xmalloc: ../bash/make_cmd.c:100: cannot allocate 92267072
bytes (1157734400 bytes allocated)
config.status: executing default commands
config.status: include/apr.h is unchanged
config.status: include/arch/unix/apr_private.h is unchanged
make[2]: Entering directory `/usr/src/freeswitch.git/libs/apr'
make[3]: Entering directory `/usr/src/freeswitch.git/libs/apr'
/bin/bash /usr/src/freeswitch.git/libs/apr/libtool --silent --mode=compile
gcc -g -O2 -pthread  -g -O2  -DHAVE_CONFIG_H -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE   -I./include
-I/usr/src/freeswitch.git/libs/apr/include/arch/unix -I./include/arch/unix
-I/usr/src/freeswitch.git/libs/apr/include  -o passwd/apr_getpass.lo -c
passwd/apr_getpass.c && touch passwd/apr_getpass.lo
/usr/src/freeswitch.git/libs/apr/libtool: line 126: CDPATH: command not
found
libtool: Version mismatch error.  This is libtool 2.4.2 Debian-2.4.2-1.1,
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.1
libtool: and run autoconf again.
make[3]: *** [passwd/apr_getpass.lo] Error 63
make[3]: Leaving directory `/usr/src/freeswitch.git/libs/apr'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/freeswitch.git/libs/apr'
make[1]: *** [libs/apr/libapr-1.la] Error 2
make[1]: Leaving directory `/usr/src/freeswitch.git'
make: *** [freeswitch] Error 2

I tried to run these commands before configure but the issue persist:

make maintainer-clean
aclocal && libtoolize --force && autoreconf
autoreconf --force --install

Any help would be appreciated.

libtool (GNU libtool) 2.4.2

Thanks,
Zoltan

_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.