[SRILM User List] Problem installing a software that depends on SRILM

Nickolay V. Shmyrev nshmyrev at yandex.ru
Thu Nov 3 16:43:06 PDT 2016


Hello Fernando

This is a bug caused by updates in SRILM 1.7.1, it introduced zlib dependency. You have the following options:

1) Use SRILM 1.7.0 instead

2) In t3/Makefile change the following line

SRILM_LIBS=-L$(SRILM_LIB) -loolm -lmisc -ldstruct

to

SRILM_LIBS=-L$(SRILM_LIB) -loolm -lmisc -ldstruct -lz


03.11.2016, 20:29, "Fernando E Alva Manchego" <fealvamanchego1 at sheffield.ac.uk>:
> Hello,
>
> I'm trying to install a software that requires SRILM. I followed the instructions in the INSTALL file and run the tests and everything was fine (with SRILM 1.7.1). However, when I tried to compile that software I got the following errors:
>
> ..../srilm-1.7.1//lib/i686-m64/libmisc.a(File.o): In function `File::fprintf(char const*, ...)':
> ..../srilm-1.7.1/misc/src/File.cc:602: undefined reference to `gzvprintf'
>
> I'm not sure if the problem is related to srilm or to the software I'm trying to install. Any help you could give me will be much appreciated.
>
> The software I'm trying to install is here.
>
> The machine I'm trying to install it is a Scientific Linux release 6.8 (Carbon).
>
> Best,
> Fernando Alva Manchego
> ,
>
> _______________________________________________
> SRILM-User site list
> SRILM-User at speech.sri.com
> http://mailman.speech.sri.com/cgi-bin/mailman/listinfo/srilm-user



More information about the SRILM-User mailing list