Configure error linking qt Ubuntu 16.04

Yes, that’s a similar issue. The libGL.so in /usr/lib32 is no use though: it’s the 32-bit version, but you’re compiling for 64-bit. What I can’t tell from your output is which drivers are currently installed. The ubuntu-drivers devices command lists the drivers appropriate for your device, but it doesn’t report which of them is installed. This is the first time I’ve come across this command, I’m not sure whether it should say if a driver is installed…? If so, then it looks like you don’t have any drivers installed right now, in which case you can try installing one using:

sudo ubuntu-drivers autoinstall

as recommended on this post.

If that’s not the issue, then can you post the output of dpkg -l | grep nvidia, that should tell us what’s currently installed.