[384.90] Redundant installation error on CentOS 6.9/Debian Sid

When installing NVIDIA drivers 384.90 on a CentOS 6.9 i686 host, you get this error message:

“An incomplete installation of libglvnd was found. Do you want to install a full copy of libglvnd? This will overwrite any existing libglvnd libraries.”

  • Don't install libglvnd files
  • Install and overwrite existing files
  • Abort installation.

CentOS 6 has never had this library, so, I believe this error and library are both redundant.

Obviously a later warning message is also misplaced:

WARNING: Unable to determine the path to install the libglvnd EGL vendor library config files. Check that you have pkg-config and the libglvnd development libraries installed, or specify a path with --glvnd-egl-config-path.

Same error i get on debian sid. But this error was even in the previous version of the driver after debian has changed / updated mesa libs.

Seems like older distros are not properly taken into consideration.

So, again with Nvidia 387.12 Beta:

Looking for install checker script at ./libglvnd_install_checker/check-libglvnd-install.sh
   executing: '/bin/sh ./libglvnd_install_checker/check-libglvnd-install.sh'...
   Checking for libglvnd installation.
   Checking libGLdispatch...
   Checking libGLdispatch dispatch table
   Checking call through libGLdispatch
   All OK
   libGLdispatch is OK
   Checking for libGLX
   libGLX is OK
   Checking for libEGL
   eglInitialize failed
-> An incomplete installation of libglvnd was found. Do you want to install a full copy of libglvnd? This will overwrite any existing libglvnd libraries. (Answer: Install and overwrite existing files)
Will install libglvnd libraries.
Will install libEGL vendor library config file to /usr/share/glvnd/egl_vendor.d

This error should not be showed, since libegl1 is installed.
I have no clue, why the EGL Check is failing.