Difference between revisions of "Installation troubleshooting"

From Apertium
Jump to navigation Jump to search
(New page: ==Errors== ===Shared libraries=== <pre> lt-comp: error while loading shared libraries: liblttoolbox3-3.0.so.0: cannot open shared object file: No such file or directory </pre> This is b...)
 
Line 4: Line 4:


<pre>
<pre>
lt-comp: error while loading shared libraries: liblttoolbox3-3.0.so.0: cannot open shared object file: No such file or directory
lt-comp: error while loading shared libraries: liblttoolbox3-3.0.so.0: cannot open shared object file: No
such file or directory
</pre>
</pre>


Line 26: Line 27:
# apt-get install libpcre3-dev
# apt-get install libpcre3-dev
</pre>
</pre>

===Missing pair===

<pre>
$ echo "Eso es un test" | apertium es-ca
Error: Mode es-ca does not exist. Try one of:
README
</pre>

Looks like you don't have any language pairs installed, did you run <code>make install</code> in the language pair directory?

If you did, email the output of

<pre>
$ cat /usr/local/bin/apertium | grep -e APERTIUM -e DEFAULT
</pre>

...obviously replace /usr/local/bin/apertium with the location of the $(prefix)/bin/apertium

to the <a href="mailto:apertium-stuff@lists.sourceforge.net">mailing list</a>.

Revision as of 20:12, 24 September 2007

Errors

Shared libraries

lt-comp: error while loading shared libraries: liblttoolbox3-3.0.so.0: cannot open shared object file: No 
such file or directory

This is because lt-comp cannot find where your liblttoolbox libs are installed. You may need to do one of several things:

  1. If you have installed it in an odd location, do: export LD_LIBRARY_PATH=/path/to/wierd/libdir
  2. If you have installed it in /usr/local
    1. Check to see if /usr/local/lib is in /etc/ld.so.conf, if it is, run ldconfig
    2. If it isn't, either add /usr/local/lib to /etc/ld.so.conf and re-run ldconfig, or do step 1.

PCRE

checking for pcreposix.h... no
configure: error: *** unable to locate pcreposix.h include file ***

You don't have the PCRE (Posix-compatible regular expressions) library header files installed, if you're in Debian or Ubuntu, do:

# apt-get install libpcre3-dev

Missing pair

$  echo "Eso es un test" | apertium es-ca
Error: Mode es-ca does not exist. Try one of:
README

Looks like you don't have any language pairs installed, did you run make install in the language pair directory?

If you did, email the output of

$ cat /usr/local/bin/apertium | grep -e APERTIUM -e DEFAULT

...obviously replace /usr/local/bin/apertium with the location of the $(prefix)/bin/apertium

to the <a href="mailto:apertium-stuff@lists.sourceforge.net">mailing list</a>.