First check in /home/sripirakas/SMT/tools/srilm/lib/i686 to see if the
library oolm is compiled successfully.

If your machine's architecture is x86-64, SRILM actually compiles its
library for x86 instead. You need to explicitly tell SRILM to target x86-64
-- I usually just edit the srilm/sbin/machine-type script and change

    else if (`uname -m` == x86_64) then
        #set MACHINE_TYPE = i686-m64
        set MACHINE_TYPE = i686

to

    else if (`uname -m` == x86_64) then
        set MACHINE_TYPE = i686-m64
        #set MACHINE_TYPE = i686

And then do a clean build.

Liu Chang
National University of Singapore

On Fri, Apr 9, 2010 at 10:54 PM, sripirakas sakthithasan <
[email protected]> wrote:

>
>
> libtool: link: g++ -g -O2 -o lmbrgrid LatticeMBRGrid.o LatticeMBR.o
> IOWrapper.o  -L/home/sripirakas/SMT/tools/srilm/lib/i686
> ../../moses/src/.libs/libmoses.a
> -L/home/sripirakas/SMT/tools/moses/OnDiskPt/src -lOnDiskPt -loolm -ldstruct
> -lmisc -lz
> /usr/bin/ld: cannot find -loolm
> collect2: ld returned 1 exit status
> make[2]: *** [moses] Error 1
> make[2]: *** Waiting for unfinished jobs....
> /usr/bin/ld: cannot find -loolm
> collect2: ld returned 1 exit status
> make[2]: *** [lmbrgrid] Error 1
> make[2]: Leaving directory `/home/sripirakas/SMT/tools/moses/moses-cmd/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/sripirakas/SMT/tools/moses'
> make: *** [all] Error 2
>
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to