nativeInstaller

Troubleshoot libstdc++ issues

The Standard C++ Library is the C++ library used in the GNU systems and most systems with the Linux kernel. Some software require a minimun version of this library to be compiled. This way, in order to being executed, the system would need to have the same version or higher of this library.

Most of the Bitnami stacks require at least glibcxx 3.4.9 to work. If the compatible versions of glibcxx in the libstdc++ installed in your system is lower than the minimun version required you will need to update the libstdc++ package or install a more recent operating system. The compatible versions of glibcxx in your system can be obtained with the command below:

$ /sbin/ldconfig -p | grep libstdc | awk '{print $4}' | xargs grep -aoE 'GLIBCXX_([0-9]+)\.([0-9]+)\.([0-9]+)'
  • GLIBCXX_3.4.1
  • GLIBCXX_3.4.2
  • GLIBCXX_3.4.3
  • GLIBCXX_3.4.4
  • GLIBCXX_3.4.5
  • GLIBCXX_3.4.6
  • GLIBCXX_3.4.7
  • GLIBCXX_3.4.8
  • GLIBCXX_3.4.9
  • GLIBCXX_3.4.10
  • GLIBCXX_3.4.11
  • GLIBCXX_3.4.12
  • GLIBCXX_3.4.13
  • GLIBCXX_3.4.14
  • GLIBCXX_3.4.15
  • GLIBCXX_3.4.16
  • GLIBCXX_3.4.17
  • GLIBCXX_3.4.18
  • GLIBCXX_3.4.19

In this example we can see that all the glibcxx versions compatible with the libstdc++ installed in the system.

Skip validation of the minimum version of libstdc++

The tools we use for checking the version of glibcxx could fail in certain environments. If this happens, you can still proceed with the installation.

* Execute the command below and ensure the output is greater or equal than 3.4.9:

        $ /sbin/ldconfig -p | grep libstdc | awk '{print $4}' | xargs grep -aoE 'GLIBCXX_([0-9]+)\.([0-9]+)\.([0-9]+)' | tail -n 1 | grep -oE '([0-9]+)\.([0-9]+)\.([0-9]+)'

* Launch the installer with the option *\--disable_glibcxx_version_check 1* to skip the validation.
Last modification September 5, 2018