$ ./idaq64: error while loading shared libraries: libSM.so.6: cannot open shared object file: No such file or directory
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.
The missing library is:
$ sudo apt-get install libsm6:i386