[Botan-devel] Problem with compiling appliaction with Botan

Michał Płoski mludy at wp.pl
Tue Mar 23 22:48:03 EDT 2010

Hello all.I have a big problem with no idea how to solve this.When I'm 
trying to compile any code with I'm getting the errors sounds like:

In function `LibraryInitializer':
/usr/include/botan/init.h:34: undefined reference to 
std::char_traits<char>, std::allocator<char> > const&)'
In function `~LibraryInitializer':
/usr/include/botan/init.h:36: undefined reference to 
collect2: ld returned 1 exit status
make[1]: *** [dist/Debug/GNU-Linux-x86/des3] Błąd 1
make[1]: Opuszczenie katalogu `/home/chudy/NetBeansProjects/DES3'
make: *** [.build-impl] Błąd 2

I got error like that even with attach to this code:

using namespace Botan;
int main()
    LibraryInitializer init;
return 0;

I'm using debian distro with gcc 4.4. I have tried to install packages 
dedicated for debian and also the newest packages from the scratch 
without the result.Thx for help

More information about the botan-devel mailing list