From the error itself , it is clear that the compiler is not able to locate the libXmu.so . I found the related library file in /usr/lib64 folder with different name ( libXmu.so.6.2.0 and libXmu.so.6.2 ).

I made a symbolic link with following command at /usr/lib64 and it seems that solved the issue.