I think I found the solution. I'm also on Ubuntu 14.04, attempting to install the fglrx-14.20 and received the exact same error.First, extract the .run file: ./amd-driver-installer-14.20-x86.x86_64.run --extractNext, cd into the newly created directory cd fgrlx-install # optionally, run this to preview the line which is causing the error: grep -n "\[\[" lokixml.shNow, open lokixml.sh in your preferred editor and search for "[[" (without quotes). Given that we're working with exactly the same version, you should find this on line 143. Comment out the entire conditional block (lines 143-145).Finally, run the install script with sudo: sudo ./ati-installer.sh 14.20 --install
It seems to do something for OpenCL-settings. Could this be fixed in the official download?