With the upgrade to GCC 7.5.0, the libstdc++ used for Impala development is now newer than the system libraries on several supported platforms (Centos 7, Ubuntu 16). Ubuntu 16 is particularly important as the main development platform.
Up until recently, bin/bootstrap_system.sh added this line to bin/impala-config-local.sh:
This line causes problems for Kudu startup, because Kudu uses symbols from GCC 7.5.0's libstdc++ that are not present in the system libstdc++. When it tries to lookup those symbols, it tries LD_LIBRARY_PATH first and fails with this message:
Without the LD_LIBRARY_PATH, the kudu binary would use its RPATH to find the toolchain's libstdc++ (and thus not have this problem).
Let's print a warning for this.