Main Menu



You are here: Home
Installing Oracle 10g on Karmic (Ubuntu 09.10) PDF Print E-mail
Written by Josh B   
Tuesday, 10 November 2009 18:30

Tags: 09.10 | karmic | oracle | ubuntu

If you need to install Oracle 10g on Karmic (for development purposes, etc) this might come in handy. Previously the library libstdc++5 needed to be installed. This could be installed with:

sudo apt-get install libstdc++5

However, now its not available in Ubuntu's Package Management system. But it is still required to install Oracle 10g. There will be an error halfway through when the Oracle installer is trying to do some linking. To fix it, read on.

 

The sequence of commands required is:

wget "http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb"
ar vx libstdc++5_3.3.6-17ubuntu1_i386.deb
tar zxvf data.tar.gz
file usr/lib/libstdc++.so.5.0.7
sudo install usr/lib/libstdc++.so.5.0.7 /usr/lib32/
cd /usr/lib32
sudo ln -s libstdc++.so.5.0.7 libstdc++.so.5
cd /usr/lib
sudo ln -s /usr/lib32/libstdc++.so.5

And yes, that is the "ar" command on the second line... Rather than make Ubuntu put on pegleg and acquire a parrot this will "create, modify, and extract from archives". Useful...!

Last Updated on Tuesday, 10 November 2009 16:14
 

Add comment


Security code
Refresh

Joomla! Template by Red Evolution - Joomla Web Design