configure: error: C++ preprocessor "/lib/cpp" fails sanity check

Posted on 12:09 PM by Bharathvn

configure: error: C++ preprocessor "/lib/cpp" fails sanity checkn in Ubuntu

Error while compiling a package as mentioned above

Solution:

run this command for resolution

sudo aptitude update
sudo aptitude install build-essential