SyntaxHighlighter

Monday, April 20, 2009

Ossim on Ubuntu causes error on missing llampi++

When compiling Ossim with lam mpi on Ubuntu 9, you might receive this error:
/usr/bin/ld: cannot find -llammpi++
The easiest way to fix this is to ensure liblam4 and openmpi is installed (via the Synaptic Package Manager) and to edit the Makefile.common in the ossim directory ($OSSIM_HOME), changing the MPI_LIB_PATH.
# Open the Makefile.common
gedit $OSSIM_HOME/Makefile.common

# Locate the following line and set its path to
/usr/lib/lam/lib
MPI_LIB_PATH = -L/usr/lib/lam/lib

No comments: