[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

The error is as follows:

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.
-------------- 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