jump to navigation

Installing Borland Together for Eclipse on Ubuntu June 19, 2007

Posted by Mayank in borland together, ubuntu.
add a comment

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

Speed up your Broadband – Part II June 10, 2007

Posted by Mayank in broadband, ubuntu.
add a comment

Here’s another tip to speed up your broadband connection..

Besides other operations, the DNS lookup operation is a very expensive operation. A fast dns lookup operations really improves your browsing experience.

There is an excellent article about speeding up your dns connection @ wordpress which describes how you can create a local dns cache. I’ve tried it out and really love the new experience :).

Have a nice time..

Happy Ubuntu(ing)!

Suspend/Resume support for wireless n/w in Ubuntu 7.04 June 9, 2007

Posted by Mayank in ubuntu.
add a comment

We have suspend/resume working … actually nearly working ! I just realised that the wireless network goes for a toss when we resume an OS session. As always, we have a solution for that 🙂 …

Check out the “Suspend Support” section @ https://help.ubuntu.com/community/WifiDocs/NetworkManager

Just in case that section is not available … it is reproduced here for your convenience ..

Suspend support

At this point your connection won’t survive suspend or hibernate. You have to create two files for that:

* /etc/acpi/suspend.d/07-network-manager.sh

#!/bin/sh
/etc/dbus-1/event.d/25NetworkManager stop

* /etc/acpi/resume.d/63-network-manager.sh

#!/bin/sh
/etc/dbus-1/event.d/25NetworkManager start

Thats it ! now you should have a fully functional suspend/resume support in Ubuntu 7.04 🙂

Happy Ubuntu(ing)!

How to speed up your Broadband connection June 9, 2007

Posted by Mayank in broadband, ubuntu.
add a comment

I recently switched to a new Broadband service. I noticed that it has very shaky DNS servers which suffer with 2 major problems:
1. Their response times are amazingly pathetic
2. Their reliability is certainly nothing much to talk about

After some googling I found a very good solution which has greatly improved my broadband’s performance. I added the following DNS servers to my /etc/resolv.conf (this is for the ubuntu/linux guys 🙂 )

nameserver 208.67.222.222
nameserver 208.67.220.220

This sets http://www.opendns.com as u’re dns server :), which happens to be much faster and much more stable then my provider’s DNS servers.

For the windows guys, just right click on u’re network icon in the system tray, go to properties, then TCP/IP properties and change the DNS server.

Enjoyyyy!!

Suspend/Resume problems with Ubuntu 7.04 (Feisty Fawn) June 8, 2007

Posted by Mayank in nw8440, ubuntu.
add a comment

I have been facing suspend/resume problems with Ubuntu 7.04. The Keyboard and touchpad lockup and do not respond after I resume back from a suspend.

After some research I came across a bug in launchpad.net.

When I tried one of the workaround suggested by Jeff Abbott over there, the keyboard and mouse started working.

The workaround was to plugin a usb keyboard after the resume and run the following commands:

sudo sh -c ‘echo -n “i8042” > /sys/bus/platform/drivers/i8042/unbind’
sudo sh -c ‘echo -n “i8042” > /sys/bus/platform/drivers/i8042/bind’

If this works for you too, then you can try creating a couple of scripts mentioned at http://ubuntuforums.org/showthread.php?t=361285&page=2

It works perfectly on my Compaq nw8440.

Haven’t found a fix for hibernate till now, still working on that.

Happy Ubuntu(ing)!