-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation problem #4
Comments
I don't, sorry! It looks like some problem with how you compiled srilm
|
I'll try.. Thanks for the quick reply =)
|
This can be solved by recompiling SRILM using the -fPIC flag. To do this, modify SRILM's common/Makefile.machine.i686-m64 (or appropriate for you system) file and add
Then I also had to modify pysrilm's setup.py a little. I you get errors about
Actually, I think it's more correct than the trunk's version anyway. |
Thanks!!
|
Thanks a lot! Had the same issue, your solution worked for me! |
Solved my problem as well. Thanks. |
Hi! I tried installing this on python but when I run the setup script I get this:
/usr/bin/ld: /home/marco/srilm/lib/i686-m64/liboolm.a(Vocab.o): relocation R_X86_64_32 against `_ZSt4cerr' can not be used when making a shared object; recompile with -fPIC
/home/marco/srilm/lib/i686-m64/liboolm.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
error: command 'c++' failed with exit status 1
Do you know how to fix this?
The text was updated successfully, but these errors were encountered: