jump to navigation

Installing Borland Together for Eclipse on Ubuntu June 19, 2007

Posted by Mayank in borland together, ubuntu.
trackback

When I tried installing Borland Together for eclipse on Ubuntu I got the following error:


kumarmay@kumarmaylap:/tmp $ Together_2006_R2_LINUX.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
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
/tmp/install.dir.7420/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
kumarmay@kumarmaylap:/tmp $
kumarmay@kumarmaylap:/tmp $
kumarmay@kumarmaylap:/tmp $ /bin/ls
env.properties.6269 env.properties.6967 gconfd-kumarmay hsperfdata_kumarmay install.dir.6967 keyring-Y5queS mapping-kumarmay orbit-root tmp7CTleI virtual-kumarmay.qQxDDJ
env.properties.6590 env.properties.7420 gconfd-root install.dir.6590 install.dir.7420 libgksu-vNFzZW orbit-kumarmay ssh-JHnKKy5938 Together_2006_R2_LINUX.bin
kumarmay@kumarmaylap:/tmp $
kumarmay@kumarmaylap:/tmp $
kumarmay@kumarmaylap:/tmp $ basename
basename: missing operand
Try `basename –help’ for more information.
kumarmay@kumarmaylap:/tmp $
kumarmay@kumarmaylap:/tmp $
kumarmay@kumarmaylap:/tmp $ java -version
java version “1.6.0”
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
kumarmay@kumarmaylap:/tmp $
kumarmay@kumarmaylap:/tmp $
kumarmay@kumarmaylap:/tmp $ echo $JAVA_HOME
/opt/jdk1.6.0
kumarmay@kumarmaylap:/tmp $
kumarmay@kumarmaylap:/tmp $
kumarmay@kumarmaylap:/tmp $ ls /lib/libc.so.6 /lib/librt.so.1 /lib/libm.so.6
/lib/libc.so.6 /lib/libm.so.6 /lib/librt.so.1

After some research I found out that this was happening due to an export in one of the installation shell scripts. To rectify the problem modify the bin file using the following command and then rerun the installation :

cat Together_2006_R2_LINUX.bin | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > Together_2006_R2_LINUX.bin.new

Advertisements

Comments»

No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: