Autools build fails with libGL.so.319.* due to change in libGL.la

The last line in the ‘/usr/lib64/libGL.la’ file provided with the NVIDIA drivers of the past (304., 310.) was always the following:

libdir=’/usr/lib64’

In the driver provided with 319.* the last line in the ‘/usr/lib64/libGL.la’ file was changed to:

libdir=’/usr/lib’

The new 319.* drivers cause libtool (version 2.2.6b) to fail when attempting to build because it looks for /usr/lib/libGL.so instead of /usr/lib64/libGL.so. The exact error produced is:

/usr/lib/libGL.so: could not read symbols: File in wrong format

I was able to achieve backwards compatibility by changing the libdir back to ‘/usr/lib64’. I do not attempt to ascertain if this is a libtool bug or an NVIDIA bug, or even a possible ‘feature’ but it seems odd that the libGL.la file provided with the NVDIDIA graphics driver update was changed in this manner.

It’s an installer bug that causes it to install the 32-bit compatibility libGL.la into the wrong location. It should be fixed in a future release.