The manual for the installation of CodeWorks for Android on Linux is missing some steps.
First you have to ensure your /tmp/ directory to be executable. This can be done with the command:
mount -o remount,exec /tmp/
You also need the legacy libpng version 1.2. For Gentoo Linux the command is:
This will solve some issues. It would be great to update the docs.