[SRILM User List] installation problem
Andreas Stolcke
stolcke at icsi.berkeley.edu
Tue Jul 31 11:15:31 PDT 2012
On 7/30/2012 9:46 PM, Shahram wrote:
> Hi,
>
> I have a problem installing SRILM on my linux machine.
> When I install it with "NO-TCL=X" it works fine, however it seems it
> does not install ngram and ngram-count.
> I have tclsh installed on my machine. SRILM installation seems to need
> ltcl. I actually do not know much about tcl. Are tclsh and ltcl the same?
To remove the dependency on -ltcl you also need to set the variable
TCL_LIBRARY= (to empty) .
> If so, how can I make the SRILM installation use tclsh instead of ltcl?
tclsh and -ltcl are for different purposes. One is a command shell,
the other a library you link your programs with .
However, if tclsh is installed on your system then chances are that
somewhere in /usr/lib there is a version of -ltcl . Try
ls /usr/lib/libtcl*.so
and if you see something like
/usr/lib/libtcl8.4.so
then set TCL_LIBRARY=-ltcl8.4 (and leave NO_TCL= empty).
Andreas
More information about the SRILM-User
mailing list