我的文件夹中有此可执行文件,每当我尝试执行它时,它都会显示错误
sudo: unable to execute ./GASS_NCBI: No such file or directory
键入后
ls -alt
这就是显示的内容
total 1156
drwxrwxrwx 6 root root 4096 Dez 20 18:47 templates
drwxr-xr-x 5 root root 4096 Nov 1 09:43 .
drwxrwxrwx 4 root root 4096 Nov 1 09:43 ..
-rwxr-xr-x 1 root root 43007 Nov 1 09:43 GASS
-rw-r--r-- 1 root root 29694 Nov 1 09:43 GASS.cpp
-rw------- 1 root root 39656 Nov 1 09:43 GASS.o
-rw-r--r-- 1 root root 578340 Nov 1 09:43 2ocj.pdb
-rwxr-xr-x 1 root root 2158 Nov 1 09:43 quebra_cadeia.pl
-rw-r----- 1 root root 1062 Nov 1 09:43 GeraTemplateNCBI.pl
drwxr-xr-x 2 root root 4096 Nov 1 09:43 pdbs
-rw-r--r-- 1 root root 142 Nov 1 09:43 execucao.txt
drwxr-xr-x 4 root root 4096 Nov 1 09:43 old
-rwxr-xr-x 1 root root 2876 Nov 1 09:43 pdb_to_txt.pl
-rw-r--r-- 1 root root 4358 Nov 1 09:36 ActiveSitesFound.txt
-rw-r--r-- 1 root root 384 Nov 1 09:36 .run_weka_prediction.pl.kate-swp
-rw-r--r-- 1 root root 147 Nov 1 09:36 AtomoMaisPesado.txt
-rwxr-xr-x 1 root root 2160 Nov 1 09:36 filter_lha.pl
-rw-r--r-- 1 root root 29784 Nov 1 09:36 GASS_NCBI.cpp
-rw-r--r-- 1 root root 29781 Nov 1 09:36 GASS_NCBI.cpp~
-rw-r--r-- 1 root root 15 Nov 1 09:36 pdbs.txt
-rwxr-xr-x 1 root root 1274 Nov 1 09:36 split_chain.pl
-rwxr-xr-x 1 root root 473 Nov 1 09:36 pdb.pl
-rw-r--r-- 1 root root 3316 Nov 1 09:36 preprocessing.cpp
-rw------- 1 root root 159523 Nov 1 09:36 TemplatesCSA_LIT.txt
-rw-r--r-- 1 root root 92 Nov 1 09:36 compile.sh
-rw-r--r-- 1 root root 987 Nov 1 09:36 format_fitness.pl
-rwxr-xr-x 1 root root 36677 Nov 1 09:36 GASS_NCBI
-rwxr-xr-x 1 root root 14806 Nov 1 09:36 preprocessing
-rw-r--r-- 1 root root 116705 Nov 1 09:36 ..sst
-rwxr-xr-x 1 root root 1077 Nov 1 09:36 teste.pl
我已经运行了命令
chmod +x GASS_NCBI
然后我通过输入来运行它
sudo ./GASS_NCBI
知道发生什么事了吗?
答案1
您可以安装 strace 之类的程序及其工具系列。这样,您就可以运行“strace ./GASS_NCBI”并查看正在进行的所有库调用,以查看它是否只是被某些东西阻塞了。