I've just installed AMDGPU-PRO 16.60 in my system and after rebooting I can't login anymore. The LightDM is always restarting.

The Xorg.0.log error is:

```
[ 46.106] (EE) AIGLX error: dlopen of /usr/lib/x86_64-linux-gnu/dri/i965_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/i965_dri.so: undefined symbol: is64bitelf) 
[ 46.106] (EE) AIGLX: reverting to software rendering 
[ 46.118] (EE) AIGLX error: dlopen of /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: undefined symbol: is64bitelf) 
[ 46.118] (EE) GLX: could not load software renderer

```

According to <http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx> my discrete video card (R7 M265) is supported but I can't figure out how to get it working properly.

My problem is a bit different of [Black screen on boot after AMDGPU-Pro install (16.04)](https://askubuntu.com/questions/799515/black-screen-on-boot-after-amdgpu-pro-install-16-04) because I'm not receiving a black screen. Lightdm is starting but after entering the password, I'm receiving the lightdm login screen again.