Error while loading shared libraries: libSM.so.6
Error
$ ./idaq64: error while loading shared libraries: libSM.so.6: cannot open shared object file: No such file or directory
Reason
In most of the cases, your program was asking for an i386 version of this lib file, while you only have a 64-bit version. So the program can not find it.
Solution
The missing library is:
$ sudo apt-get install libsm6:i386
Reference
[ask Ubuntu] Missing libSM.so.6 library - QT creator installation error
[xhyumiracle.com] Error while loading shared libraries: libgthread-2.0.so.0