Using ssh for remote command
        Posted  
        
            by 
                user1663479
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by user1663479
        
        
        
        Published on 2012-09-11T16:50:21Z
        Indexed on 
            2012/09/12
            21:38 UTC
        
        
        Read the original article
        Hit count: 348
        
I need to use ssh to execute a remote command such as:
ssh -l jsilva xman /vol/2011/linux_x64/exe/mx201111.exe
When I execute ssh I receive error message:
/cmg/2011.11/linux_x64/exe/mx201111.exe: error while loading shared libraries: libmkl_intel_lp64.so: cannot open shared object file: No such file or directory
This application uses the variable LD_LIBRARY_PATH. I inserted this variable into /etc/profiles in localhost and remote host. The filesystem /cmg is mounted by autofs for both hosts (local and remote).
Anybody have idea how to resolve this problem?
Thanks!
© Stack Overflow or respective owner