Since the current xorg has a bug that prevents me to load more than 5 touchscreens -- Yes I have 9 touchscreens for this project -- and since the new version promises to have full multitouch support I installed xorg from git in /opt/xorg.
After changing the symlink in /etc/X11/X to the right binary, adding /opt/xorg/lib to the librarypath, setting up all the symlinks to be able to use the binary driver package from /opt/xorg I got this error:
/opt/xorg/lib/xorg/modules/drivers/fglrx_drv.so: undefined symbol: xf86SetDGAMode
While both Xorg and the driver have that symbol:
$ grep xf86SetDGAMode /opt/xorg/lib/xorg/modules/drivers/fglrx_drv.so /opt/xorg/bin/Xorg
Binary file /opt/xorg/lib/xorg/modules/drivers/fglrx_drv.so matches
Binary file /opt/xorg/bin/Xorg matches
I got the feeling I am missing something obvious. I suspect that the fglrx installer script: amd-driver-installer-12.104.2-x86.x86_64.run
links against the default installed version of xorg, and not the version installed in /opt/xorg
How can I do that?