The last line in the ‘/usr/lib64/libGL.la’ file provided with the NVIDIA drivers of the past (304., 310.) was always the following:
In the driver provided with 319.* the last line in the ‘/usr/lib64/libGL.la’ file was changed to:
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.