Error while loading shared libraries: libCore.so: wrong ELF

I followed the post
[url][Solved] libCore.so: cannot open shared object file: No such

After that I got this error:

/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

It looks like linux+root combined problem, it is looking in 32 bit library. It should be /lib64/ld-linux-x86-64.so.2 instead of /lib/ld-linux.so.2. Any idea to fix this?

Thanks.