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.
Updated by Dan Higgins over 17 years ago
An alternative to the InstallAnywhere installer (which is Linux shell file), we can just tar/zip the distribution and use the 'morpho' shell file to start Morpho. The 'morpho' file should be saved in Unix format (to avoid the need for dos2unix). Saving as tar should also preserve the permissions needed to execute 'morpho' shell script.
Updated by Callie Bowdish almost 17 years ago
The zip file solution for Morpho only works from the command line. To execute Morpho one has to go to the Morpho-1.6.1 directory using the terminal and type ./morpho.
Double clicking on the Morpho icon brings up a window saying, "Do you want to run "morpho", or display it's contents? "morpho" is an executable text file. It gives you a choice of buttons that do not work. There is also an old file called morpho.jnlp that should probably be checked to see if it can be removed. When it is clicked it runs and says it will expire in 2002.
Updated by Callie Bowdish over 16 years ago
The bin file for Morpho, http://knb.ecoinformatics.org/software/dist/morpho-1.6.1-linux.bin works fine and it creates a clickable file that opens Morpho without using the command line every time. I needed to be reminded to type sh ./morpho-1.6.1-linux.bin from the terminal in the directory where that file is located.
Directions for installing Morpho on Ubuntu using the morpho-1.6.1-linux.bin file. Go to the directory that this file is located using the terminal. Type sh ./morpho-1.1.1-linux.bin. This will start the install program and create a file called Morpho-1.6.1 that can be used for opening Morpho.
Updated by Jing Tao about 15 years ago
This bug has been fixed by IzPack installer.