Bug #2798
closedThe Morpho Linux install file no longer works with current Ubuntu 6.10
0%
Description
It looks like the installAnywhere installer for linux is out of date. When the file is executed errors come up. Here is a sample of what the consle returns when the file at http://knb.ecoinformatics.org/software/dist/morpho-1.6.1-linux.bin is executed.
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
nawk: error while loading shared libraries: libm.so.6: cannot open
shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open
shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
Launching installer...
grep: error while loading shared libraries: libc.so.6: cannot open
shared object file: No such file or directory
/usr/lib/jvm/java-1.5.0-sun/jre/bin/java: error while loading shared
libraries: libpthread.so.0: cannot open shared object file: No such
file or directory
There are some workarounds for this but I do not think they are very easy to follow. Nick has tested them. However, if we can not get a new install file for this version we probably need to test and document the workaround.
Nick Brand was able to install Morpho with these directions:
1. Download the installer
2. copy the installer
cp morpho-1.6.1-linux.bin morpho-1.6.1-linux.bak
3. run the fix (put everything on one line)
cat morpho-1.6.1-linux.bak | sed "s/export LD_ASSUME_KERNEL/#xport
LD_ASSUME_KERNEL/" > morpho-1.6.1-linux.bin
4. now run the installer and move the the install dir
./morpho-1.6.1-linux.bin
cd Morpho-1.6.1/
Here are some alternate instructions, after installing morpho, cd to the
Morpho-1.6.1 directory, then run:
dos2unix morpho
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun/jre/
./morpho
You may need to install "tofrodos" to get the dos2unix program.