Solving “configure: error: C++ compiler cannot create executables” problem

c++You ran ./configure and got “configure: error: C++ compiler cannot create executables”. Here is how to fix it …


You need to install c++ on your computer. even if you installed gcc that doesn’t automatically install g++. Try to run one of the following commands that fit your Linux distribution best :)


yum install gcc-c++
or
apt-get install gcc-c++

if apt-get doesn’t like the command try


apt-get install g++

3 thoughts on “Solving “configure: error: C++ compiler cannot create executables” problem

  1. Shinigami,

    Please switch to english version of the post and use the code from it. Unfortunately automatic translator I use also tries to translate the code, so the code samples do not work in the versions of the post other then english.

    Good luck!
    Andrey

Leave a Reply