<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 3/20/2013 11:53 PM, SHUBHAMAY SEN
wrote:<br>
</div>
<blockquote
cite="mid:CAH7UGAo4mJ7nJtQi-GgiOSjdmdhKe68dALNC0h7eQkNhQ6mrjA@mail.gmail.com"
type="cite"><br>
<br>
<div class="gmail_quote">---------- Forwarded message ----------<br>
From: <b class="gmail_sendername">SHUBHAMAY SEN</b> <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:shubhamay.sen@gmail.com">shubhamay.sen@gmail.com</a>></span><br>
Date: Thu, Mar 21, 2013 at 12:14 PM<br>
Subject: Problem- "cannot execute binary file"<br>
To: <a moz-do-not-send="true"
href="mailto:srilm-user@speech.sri.com">srilm-user@speech.sri.com</a><br>
<br>
<br>
Hi,<br>
I have a 64 bit machine.<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:kiit@kiit-ThinkCentre-M72e:~/phrasal.Beta4/work$">kiit@kiit-ThinkCentre-M72e:~/phrasal.Beta4/work$</a> uname -a<br>
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<br>
</div>
</blockquote>
Note the "i686", that means your machine or OS are 32bit.<br>
<br>
<blockquote
cite="mid:CAH7UGAo4mJ7nJtQi-GgiOSjdmdhKe68dALNC0h7eQkNhQ6mrjA@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<br>
I have compiled srilm using "make World MAKE_PIC=1
MACHINE_TYPE=i686-m64 -C $SRILM" command, output is attached.<br>
</div>
</blockquote>
<br>
but you're building 64bit binaries...<br>
<blockquote
cite="mid:CAH7UGAo4mJ7nJtQi-GgiOSjdmdhKe68dALNC0h7eQkNhQ6mrjA@mail.gmail.com"
type="cite">
<div class="gmail_quote"><br>
but when I am executing the below command, it is showing the
following message.<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:kiit@kiit-ThinkCentre-M72e:~/phrasal.Beta4/work$">kiit@kiit-ThinkCentre-M72e:~/phrasal.Beta4/work$</a>
$SRILM/bin/*/ngram-count -order 3 <br>
-interpolate -kndiscount -unk -text
data/training/news-commentary.tok.en -lm lm/news.lm.gz<br>
<br>
bash: /home/kiit/srilm/bin/i686-m64/ngram-count: cannot execute
binary file<br>
</div>
</blockquote>
<br>
... therefore they will not run.<br>
<br>
Build with MACHINE_TYPE=i686 .<br>
<br>
Andreas<br>
<br>
<br>
</body>
</html>