可执行文件对自己的存在撒谎

可执行文件对自己的存在撒谎

好吧,我对这个完全困惑。我正在为我的上级安装一个名为 InterPro Scan 的软件,它抱怨可执行文件不存在。请看下文。

root@cpt:/usr/local/lib/iprscan# bin/Linux/seqret 
bash: bin/Linux/seqret: No such file or directory
root@cpt:/usr/local/lib/iprscan# ls bin/Linux/seqret 
bin/Linux/seqret
root@cpt:/usr/local/lib/iprscan# stat bin/Linux/seqret 
  File: `bin/Linux/seqret'
  Size: 949624          Blocks: 1856       IO Block: 4096   regular file
Device: 801h/2049d      Inode: 38541532    Links: 1
Access: (0755/-rwxr-xr-x)  Uid: ( 1257/ UNKNOWN)   Gid: ( 1055/ UNKNOWN)
Access: 2013-06-17 17:28:41.317364148 -0500
Modify: 2009-12-16 05:57:46.000000000 -0600
Change: 2013-06-17 17:28:33.049363860 -0500
 Birth: -
root@cpt:/usr/local/lib/iprscan# md5sum bin/Linux/seqret 
bc08e679fb146bc47e6f41636dcc1f88  bin/Linux/seqret
root@cpt:/usr/local/lib/iprscan# file /usr/local/lib/iprscan/bin/binaries/seqret

/usr/local/lib/iprscan/bin/binaries/seqret: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped

它存在!但它说不是?我非常困惑。

root@cpt:/usr/local/lib/iprscan# /usr/local/lib/iprscan/bin/iprscan -cli -i /usr/local/lib/iprscan/test.seq -o /usr/local/lib/iprscan/test.out -format raw -goterms -iprlookup

这调用了包装脚本:

/usr/local/lib/iprscan/conf/seqret.sh: line 18: /usr/local/lib/iprscan/bin/binaries/seqret: No such file or directory
/usr/local/lib/iprscan/bin/iprscan: checkParams: unable to create input files: formatSequences: 

这是对包装器脚本的原始调用:

/usr/local/lib/iprscan/conf/seqret.sh  /usr/local/lib/iprscan/tmp/20130617/iprscan-20130617-17561022/iprscan-20130617-17561022.seqs > /usr/local/lib/iprscan/tmp/20130617/iprscan-20130617-17561022/iprscan-20130617-17561022.input.formatted: exit status 127

所有输入文件都存在。

包装脚本本身

root@cpt:/usr/local/lib/iprscan# cat /usr/local/lib/iprscan/conf/seqret.sh
#!/bin/bash

##### NOTE ####
# Should be already set by iprscan_wrapper.pl.
# If not just add the full path to your iprscan installation
#IPRSCAN_HOME=/your/path/here/to/iprscan
###############
IPRSCAN_HOME=/usr/local/lib/iprscan

#Needed for seqret & sixpack emboss applications
EMBOSS_ROOT=$IPRSCAN_HOME/conf
export EMBOSS_ROOT

EMBOSS_ACDROOT=$IPRSCAN_HOME/conf/acd
export EMBOSS_ACDROOT

# "$@" is related to the command line of formatcmd tag in file iprscan.conf.
$IPRSCAN_HOME/bin/binaries/seqret -osf fasta -auto -stdout "$@"

答案1

根据我发布问题后 stackexhcange 弹出的证据,我猜测这将是问题的原因。我现在正在安装 32 位库。

相关内容