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!

2 comments:

Anonymous said...

Worked like a charm. Thanks!

Anonymous said...

You, sir, are a gentleman and a scholar. Excellent work.