Wednesday, February 17, 2010

Oracle Calendar on 64-bit Ubuntu Karmic

Installation

cd
mkdir lib32
cd lib32
wget ftp://ftp.uga.edu/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb
dpkg -X libstdc++5_3.3.6-17ubuntu1_i386.deb
mv usr/lib/ to ./
rm -r usr *.deb
cd ..
mkdir lib
wget ftp://ftp.uga.edu/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_amd64.deb
dpkg -X libstdc++5_3.3.6-17ubuntu1_amd64.deb
mv usr/lib/ to ./
rm -r usr *.deb
cd ..
mkdir lib
cd
download the oracle calendar client from Oracle or Sitesoft
tar xzvf $thepackage
export LD_LIBRARY_PATH=$HOME/lib:$HOME/lib32
cd OracleCalendar_inst
sudo ./text_install.sh
  • install to /usr/local/lib/oraclecalendar
  • link to /usr/local/lib

To run the app

export LD_LIBRARY_PATH=$HOME/lib:$HOME/lib32
/usr/local/bin/ocal

A script to for a menu launcher

  • create the following script somewhere and chmod 755
#!/bin/sh
export LD_LIBRARY_PATH=$HOME/lib:$HOME/lib32
/usr/local/bin/ocal
  • Use "System->Preferences->Main Menu" to create a menu item for the script

References

http://hsmak.wordpress.com/2009/12/01/how-to-fix-libstdc5-dependency-problem-in-ubuntu-9-10/
http://prowiki.isc.upenn.edu/wiki/Oracle_Calendar_Desktop_Client_for_Linux

No comments:

Post a Comment