标签: bash
SHC 4.0.3
我使用shc -r -H -U -f test.sh -o test
shc -r -H -U -f test.sh -o test
在服务器上运行时,在其上编译正常,在另一台服务器上运行时,我得到两行输出:
sh: cc: command not found sh: cc: command not found
查看两个系统上的用户,他们两个的默认外壳都为/ bin / bash
脚本也开始#!/bin/bash
#!/bin/bash
任何想法如何解决这个问题? 谢谢