[SRILM User List] Chaing's python wrapper

gholamreza haffari reza.haffari at gmail.com
Wed Jan 4 02:16:03 PST 2012


Hi there,

I get an error when I try to compile the following python wrapper (by David
Chaing):
http://www.isi.edu/~chiang/software/psrilm.tgz


The error is as follows:

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


The srilm version that I use is "1.6.0" and my machine type is "i686-m64".

I appreciate your help.
cheers,
-Reza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20120104/73314b64/attachment.html>


More information about the SRILM-User mailing list