Error g++: command not found

On Linux machine while running “make” command, following error came and make command exited

 

1 2 3   ../libtool: line 1128: g++: command not found  

 

Fix is simply install “Developer tools” using yum

1 2 3   yum groupinstall ‘Development Tools’  

 

In many cases , while installing softwares ,you could need much more than just the compiler. The Development Tools package includes the core development tools like automake, gcc flex,  gdb, bison, make and many more.Many tools can be used to compile software. It depends on the purpose of the software and choices of the developers. The Development Tools package is the baseline, some software needs more packages such as supporting libraries. Most of these popular packages are available in yum repositories, making our life easy.

 

Author: , 0000-00-00