Saturday, September 27, 2008

Sunday, September 14, 2008

Installing Oracle Calendar on Fedora

This will be the first post in a series chronically my "Can I use Fedora for my work OS?" project. My first task was to see if I could install Oracle Calendar which is our enterprise calendaring system.

In theory this should not be a hard install you can get the installer from oracle.com and unzip that tarball and run gui_install.sh. Of course things never go that easy, the first error I got was this:

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...
awk: error while loading shared libraries: libdl.so.2: 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.7150/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
After doing some research it seems that the LD_ASSUME_KERNEL environment var can cause problems, it is old var used during the time of kernel threading switch. Some apps, mostly java, still have this set and it cuases problems in fedora. The soluction is to turn it off:

perl -pi -e 's/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/' cal_linux


After that I got a missing object error:

libXp.so.6: cannot open shared object file: No such file or directory


This was an easy fix, I just installed the missing lib.


yum install libXp.so.6


The Final error I had was:

libstdc++.so.5: cannot open shared object file: No such file or directory


I checked the lib version and found that I had so.6. My first though was to link this to the so.5 and hope for the best. I decided to first look for a compat library and I found it. The solution:


yum install compat-libstdc++-33

Finally I had a working calendar! Woo Hoo!

Wednesday, September 3, 2008

Techie Haiku

Your razor-sharp wit
Can never stand up to my
Adamantium

Tuesday, September 2, 2008

My Macbook Lives

My macbook experienced some serious issues last Friday. When I boot I get the login screen because I have enabled the root account for various things. When I logged in as my normal user I got stuck at a blue screen that would flash intermittently. It was like the mac couldn't log in. After some painful trouble shooting here is what I did to fix it:

  1. login into the computer using the root account
  2. created a new user called xyz
  3. renamed the home folder  (/Users/xyz)  to xyz_old
  4. renamed my home folder to xyz
  5. rebooted
  6. logged in as xyz
I was able to login as the new user and all my settings were just as I left them.  I did have to type in my password for the keychain but that worked fine.  The best part is I still had my time machine back up just in case.

I need this for my mac