SDB:Installation Programs using Install Anywhere fail with error messages.

Şuraya atla: kullan, ara


Version: 8.1

Symptom

You would like to install a program like Borlands JBuilder or Limewire, which uses Install Anywhere as its installer, but the installation fails with messages like

error while loading shared libraries: libc.so.6: cannot open shared object file:
No such file or directory

Cause

Older Java versions have problems with the socalled 'floating stack' of glibc's which have been optimized for i686. To work around this problem, a trick is tried which does not work with the i686 optimized glibc in SuSE Linux 8.1. On the contrary it leads to the glibc refusing to work anymore and the error messages you see. What's even more annoying is the fact that this trick isn't needed at all for the Java version that comes with SuSE Linux 8.1.

Solution

Open the installation script with an editor of your choice. For Borland JBuilder personal edition this would be per_install.bin, for LimeWire LimeWire-<Version>-Linux.bin.

Before editing anything please make sure that you have switched your editor to overwrite or replace mode. This is necessary to prevent the tar files contained in the install script from shifting position.

Now search for the following lines of shell code:

 # glibc floating stack problem on Linux
 if [ `uname -s` = Linux ]
 then
         case `uname -r` in
         2.[456]*)
                 LD_ASSUME_KERNEL=2.2.5
                 export LD_ASSUME_KERNEL
                 ;;
         esac
 fi
 

Before editing anything please make sure that you have switched your editor to overwrite mode and comment out this paragraph by inserting a hash sign (#) at the beginning of each line. This is necessary to prevent the tar files contained in the install script from shifting position.

The code will then look like this:

+#f [ ^Uname -s = Linux ]
+#hen
+#       case ^Uname -r in
+#       2.[456]*)
+#               LD_ASSUME_KERNEL=2.2.5
+#               export LD_ASSUME_KERNEL
+#               ;;
+#       esac
+#i

After having saved the file the installation should succeed. <keyword>install,jbuilder,limewire,java,installanywhere,anywhere</keyword>