[SRILM User List] error message while running make World
Andreas Stolcke
stolcke at speech.sri.com
Mon Jan 24 14:07:57 PST 2011
Pawan Goyal wrote:
> Hi all,
>
> uname -a
> Linux pawan-laptop 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10
> 23:42:43 UTC 2011 x86_64 GNU/Linux
>
> gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
The probable reason is that you're trying to compile 32-bit binaries
(the default for the i686 platform), but you Ubuntu system doesn't have
the required libraries installed (only the 64bit ones are installed on
most systems).
Two solutions: 1) install the optional 32bit binaries using commands
such as
apt-get install ia32-libs
(if you want to build with Tcl support you'd also need the 32bit version
of libtcl -- don't know the name of the package).
2) Compile 64bit binaries. You can copy
common/Makefile.machine.i686-ubuntu to common/Makefile.machine.i686, or
edit the file by hand.
Andreas
>
> error message while
>
> make World
>
> .........................
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libstdc++.so when searching for
> -lstdc++
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libstdc++.a when searching for
> -lstdc++
>
> /usr/bin/ld: cannot find -lstdc++
> collect2: ld returned 1 exit status
> /home/pawan/Documents/PhD/summarization/srilm/sbin/decipher-install
> 0555 ../bin/i686/maxalloc ../../bin/i686
> ERROR: File to be installed (../bin/i686/maxalloc) does not exist.
> ERROR: File to be installed (../bin/i686/maxalloc) is not a plain file.
> Usage: decipher-install <mode> <file1> ... <fileN> <directory>
> mode: file permission mode, in octal
> file1 ... fileN: files to be installed
> directory: where the files should be installed
>
> ..................................................................................
>
> Thanks in advance
> Pawan
> ------------------------------------------------------------------------
>
> _______________________________________________
> SRILM-User site list
> SRILM-User at speech.sri.com
> http://www.speech.sri.com/mailman/listinfo/srilm-user
More information about the SRILM-User
mailing list