[SRILM User List] Fwd: Problem- "cannot execute binary file"
Andreas Stolcke
stolcke at icsi.berkeley.edu
Thu Mar 21 00:07:04 PDT 2013
On 3/20/2013 11:53 PM, SHUBHAMAY SEN wrote:
>
>
> ---------- Forwarded message ----------
> From: *SHUBHAMAY SEN* <shubhamay.sen at gmail.com
> <mailto:shubhamay.sen at gmail.com>>
> Date: Thu, Mar 21, 2013 at 12:14 PM
> Subject: Problem- "cannot execute binary file"
> To: srilm-user at speech.sri.com <mailto:srilm-user at speech.sri.com>
>
>
> Hi,
> I have a 64 bit machine.
>
> kiit at kiit-ThinkCentre-M72e:~/phrasal.Beta4/work$ uname -a
> Linux kiit-ThinkCentre-M72e 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11
> 18:52:46 UTC 2012 i686 i686 i686 GNU/Linux
Note the "i686", that means your machine or OS are 32bit.
>
> I have compiled srilm using "make World MAKE_PIC=1
> MACHINE_TYPE=i686-m64 -C $SRILM" command, output is attached.
but you're building 64bit binaries...
>
> but when I am executing the below command, it is showing the following
> message.
>
> kiit at kiit-ThinkCentre-M72e:~/phrasal.Beta4/work$
> $SRILM/bin/*/ngram-count -order 3
> -interpolate -kndiscount -unk -text
> data/training/news-commentary.tok.en -lm lm/news.lm.gz
>
> bash: /home/kiit/srilm/bin/i686-m64/ngram-count: cannot execute binary
> file
... therefore they will not run.
Build with MACHINE_TYPE=i686 .
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20130321/6a2bf881/attachment.html>
More information about the SRILM-User
mailing list