Hi there,<br><div class="gmail_quote"><br>I get an error when I try to compile the following python wrapper (by David Chaing):<br><a href="http://www.isi.edu/%7Echiang/software/psrilm.tgz" target="_blank">http://www.isi.edu/~chiang/software/psrilm.tgz</a><br>
<br><br>
The error is as follows:<br><br>/usr/bin/ld: /cs/grad1/ghaffar1/software/srilm/lib/i686-m64/liboolm.a(Vocab.o): relocation R_X86_64_32 against `Vocab::compare(unsigned int, unsigned int)' can not be used when making a shared object; recompile with -fPIC<br>

/cs/grad1/ghaffar1/software/srilm/lib/i686-m64/liboolm.a: could not read symbols: Bad value<br>collect2: ld returned 1 exit status<br>error: command 'g++' failed with exit status 1<br>make: *** [all] Error 1<br><br>

<br>The srilm version that I use is "1.6.0" and my machine type is "i686-m64".<br><br>I appreciate your help.<br>cheers,<br>-Reza<br>
</div><br>