wxMax on Ubuntu 8.04

BlitzMax Forums/Brucey's Modules/wxMax on Ubuntu 8.04

Winni(Posted 2008) [#1]
Ok, wxWidgets and wxMax compiled, but when I try to run one of the samples, I get this:

Building aui
Compiling:aui.bmx
flat assembler  version 1.67.28  (32768 kilobytes memory)
4 passes, 138741 bytes.
Linking:aui.debug
Executing:aui.debug
/usr/bin/ld: warning: libstdc++.so.6, needed by /usr/bin/../lib/libcairo.so.2, may conflict with libstdc++.so.5
Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 102,wx containers,compatible with 2.6).
Aborted

Process complete


Now this is completely beyond me. How can it be fixed?