cannot find -lstdc++ on 64-bit Ubuntu 10.04

BlitzMax Forums/BlitzMax Beginners Area/cannot find -lstdc++ on 64-bit Ubuntu 10.04

Hkan(Posted 2010) [#1]
I'm trying to compile MaxIde from source after having rebuilt modules successfully.
So, the compile aborts while trying to link and the quintessential problem seems to be that the linker fails to pick up the 32-bit libraries but tries and fails miserably with the 64-bit ones instead.
Error message...
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status

I've only found this posting! in the forum but eventhough vaguely interesting it doesn't really cover it. So what to do? I can't be the only one? or am I. Any kind of fixes or really preferable, pointers in the right direction are very welcome.

Regards,


Hkan(Posted 2010) [#2]
Never mind....I've fixed it sort of...

This post did it!
It mentions among other things ...something...multilib which I did install.
MaxIde compilation now ends as it should, happlily and OK!

Funny I missed it when searching for the error message...should've searched for "linking" instead. Who would've thought of that.

Regards,