[MINC-users] problems installing mni - N3

Steve M. Robbins steven.robbins at videotron.ca
Sun Feb 5 01:54:39 EST 2006


On Tue, Jan 24, 2006 at 02:48:18PM +0100, Juanjo Lull (UPV) wrote:
> Hi Jason (or whoever is in charge of N3 by now...),
> I have been trying to install N3, and after many hours of hard trying I 
> feel desperate because I always get the same error: No EBTKS libraries 
> found. I have those libraries installed, but no way. ./configure says it 
> can't find them and there is no possibility to compile the code.

In this case, "configure" is misleading you.  The log file you attach
shows the following:


> configure:4146: checking for library EBTKS
> configure:4166: g++ -o conftest -g -O2  -I/home/jualulno/EBTKS-1.4/include -I/usr/local/mni/include  -L/usr/local/mni/lib conftest.cc -lEBTKS  >&5
> /usr/local/mni/lib/libEBTKS.a(MString.o)(.gnu.linkonce.t._ZNSt13_Format_cacheIcE6_S_getERSt8ios_base+0x69): In function `MString::MString[not-in-charge](char const*)':
> /tmp/epm-build/EBTKS-1.3/templates/SimpleArray.h:60: undefined reference to `std::_Format_cache<char>::_Format_cache[in-charge]()'
> /usr/local/mni/lib/libEBTKS.a(MString.o)(.gnu.linkonce.t._ZNSt13_Format_cacheIcE11_S_callbackENSt8ios_base5eventERS1_i+0xd6): In function `MString::MString[not-in-charge](MString const&)':
> /tmp/epm-build/EBTKS-1.3/templates/SimpleArray.h:60: undefined reference to `std::_Format_cache<char>::_Format_cache[in-charge]()'
> collect2: ld returned 1 exit status


So we know that libEBTKS was found, in file /usr/local/mni/lib/libEBTKS.a
Is that where you expected it?

In plain language, the linker is saying that function
MString::Mstring() found in libEBTKS requires function
std::_Format_cache<char>, which cannot be found.  This often indicates
that you have upgraded the C++ comiler or system libc since libEBTKS
was built.  Try rebuilding libEBTKS.

-Steve


More information about the MINC-users mailing list