INCF / libneurosim

Common interfaces for neuronal simulators

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to install libneurosim

ShashShukla opened this issue · comments

I am running Ubuntu 16.04 LTS.
I downloaded and extracted the repo and then did the following:

  1. aclocal
  2. ./autogen.sh
  3. ./configure
  4. make

make gave me the following output error:

Making all in libneurosim
make[2]: Entering directory '/home/shashwat/Desktop/libneurosim-master/libneurosim'
depbase=`echo conngen/connection_generator.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../libltdl     -MT conngen/connection_generator.lo -MD -MP -MF $depbase.Tpo -c -o conngen/connection_generator.lo conngen/connection_generator.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: Version mismatch error.  This is libtool 2.4.2, but the
libtool: definition of this LT_INIT comes from libtool 2.4.6.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2
libtool: and run autoconf again.
Makefile:518: recipe for target 'conngen/connection_generator.lo' failed
make[2]: *** [conngen/connection_generator.lo] Error 63
make[2]: Leaving directory '/home/shashwat/Desktop/libneurosim-master/libneurosim'
Makefile:423: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/shashwat/Desktop/libneurosim-master'
Makefile:355: recipe for target 'all' failed
make: *** [all] Error 2

Any help would be greatly appreciated, thanks!

This Stack Overflow entry has a possible answer: https://stackoverflow.com/questions/3096989/libtool-version-mismatch-error
Can you please report back if that solves the problem for you?

Sorry for the late reply...
I had scoured all the forums and did indeed try the fixes mentioned in the above SO entry before opening this issue. None of them worked.

Hi Mikael,

Thank you for your very detailed reply. I realised that the problem was with Anaconda. It had overridden my libtool install and had itself been using libtool version 2.4.2 instead of 2.4.6.
Uninstalling libtool from the Anaconda distribution and reinstalling libtool-bin solved the problem for me.

Thanks a lot for your help!

Cheers,
Shashwat