That does sound odd. To help debug the issue I suggest adding "printenv" to the list of commands ssm can run and then doing: $ sudo printenv | grep LD_ That way you can see which LD_* variables are getting passed through to the command. - todd