Maple x libc.so.6

January 7th, 2008 sfair Posted in Linux, Tips Comments Off

I was trying to install o maple 9.5 on Ubuntu Gutsy and I got this error:

Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
[...]
nawk: error while loading shared libraries: libm.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.4876/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

The first step was to check if libc.so.6 was correctly installed (you can find it in libc6 package). Once I knew it was installed I looked for a solution and I found on Ubuntu forum a recipe to solve this issue:

1- Copy the file LinuxInstaller.bin to your computer (it’s often located in /media/cdrom/Linux/Disk1/InstData/VM)
2- Open a terminal window and type:

sed -i "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" LinuxInstaller.bin

3- Change the file permission and execute it:

chmod +x LinuxInstaller.bin
sudo sh ./LinuxInstaller.bin

4- Proceed with installation as usual (just point to /media/cdrom/Linux/Disk1/ when Disk 1 be request).

AddThis Social Bookmark Button

Ubuntu Gusty update: nautilus crash

October 24th, 2007 sfair Posted in Linux, Tips, Ubuntu Comments Off

Recently I upgrade a PC from Ubuntu Fesity to Gusty using the update manager. When the upgrade was completed, nautilus presented a strange behavior: it crashed every time I tried to open a folder, returning the following message:

file nautilus-navigation-window.c: line 834 (activate_nth_short_list_item)

I looked for this error in ubuntu forum, but I couldn’t get what’s wrong. I just discovered this crash happens only when you upgrade your system using the update manager.

There are two ways (at least the ways I know) to solve temporally this problem:

(a) Change the view mode on nautilus to view as list
(b) Downgrade some packages (nautilus, libnautilus e nautilus-data):

cd /var/cache/apt/archives
sudo apt-get install libtrackerclient-dev
sudo dpkg --force-all -i nautilus_1%3a2.20.0-0ubuntu7_i386.deb libnautilus-extension1_1%3a2.20.0-0ubuntu7_i386.deb nautilus-data_1%3a2.20.0-0ubuntu7_all.deb

This bug was reported and a patch was released to fix it (SVN version is ok). Probably it will be available in the next nautilus update.

AddThis Social Bookmark Button