InstallAnywhere on Linux fails to find shared libraries

Some latest versions of Linux fail to install with InstallAnywhere and will generate error messages such as "error while loading shared libraries: libm.so.6: cannot open". The problem can be fixed by modifying the install.bin script, and also the Jalview script.

cp install.bin install.bak
cat install.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > install.bin
sh install.bin

cp Jalview Jalview.bak
cat Jalview.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > Jalview
sh Jalview

Question Type: