Forums | Aggregator | Books | Industry News | Firefox Plugins | Social | Links

Comments

Oracle Database 11g Release 1 (11.1) Installation On Fedora 11 (F11) - A brief guide to installing Oracle 11g Release 1 (11.1) on Fedora 11 (F11).



Jeff Moss said...

As I've explained...I'm no linux expert, so forgive me if I'm talking cobblers...

The following line didn't work for me on FC11 x86_64:

[root@venice jeff]# yum install compat-libstdc++
Loaded plugins: refresh-packagekit
Setting up Install Process
No package compat-libstdc++ available.
Nothing to do

My repository list:

[root@venice jeff]# yum repolist
Loaded plugins: refresh-packagekit
repo id repo name status
fedora Fedora 11 - x86_64 enabled: 16,577
updates Fedora 11 - x86_64 - Updates enabled: 2,582
repolist: 19,159

Searching for that package:

[root@venice jeff]# yum search compat-libstdc++
Loaded plugins: refresh-packagekit
============================ Matched: compat-libstdc++ ============================
compat-libstdc++-296.i586 : Compatibility 2.96-RH standard C++ libraries
compat-libstdc++-33.i586 : Compatibility standard C++ libraries
compat-libstdc++-33.x86_64 : Compatibility standard C++ libraries

Seems to suggest some more specific names.

I decided, to install the "33" i586 and x86_64 packages manually using these lines:

yum install compat-libstdc++-33.i586
yum install compat-libstdc++-33.x86_64

the i586 package automatically installed these as dependencies:

libgcc-4.4.0-4.i586
glibc-2.10.1-2.i686

So, from your list of 32 bit libraries that are needed on a 64 bit install, that just left me to install the following:

yum install libaio-0.3.107-8.fc11.i586.rpm
yum install glibc-devel-2.10.1-2.i586.rpm
yum install libstdc++-4.4.0-4.i586.rpm

OK - past the libraries bit it all went well until the pre-requisite checks on the Oracle installer, where these gave warnings:

Checking for libaio-0.3.106-i386; Not found. Failed <<<<
Checking for libstdc++-4.1.1-i386; Not found. Failed <<<<
Checking for libgcc-4.1.1-i386; Not found. Failed <<<<
Checking for glibc-devel-2.5-i386; Not found. Failed <<<<
Checking for compat-libstdc++-33-3.2.3-i386; Not found. Failed <<<<

I guess this is where one takes ones choice and either uses the i386 versions to avoid these warnings, or one uses the newer i586 versions and just manually check off these warnings.

I did the latter and it went on to install just fine, as per your guide.

Cheers
Jeff

Tim... said...

Well spotted. My bad. :)

I'll change the article.

Cheers

Tim...

lipman said...

I following the guide exactly, but failed to install oracle 11g to fedora 11 x86_64. after some time, I install libaio-devel.i586(0.3.107-8.fc11), then installation is going smoothly. I just suggest if the guide need to add libaio-devel.i586 into the required software package list for fedora 11 x86_64 installation. Anyway, thank you very much the good installation guide.

Scott said...

Followed the guide to the letter, to install on F11 32 bit, and it fails part the way through with the error :

Error in invoking target 'agent nmb nmo nmhs tclexec' of makefile '/u01/app/oracle/product/11.1.0/db_1/sysman/lib/ins_emagent.mk'. See '/u01/app/oraInventory/logs/installActions2009-07-15_12-03-51PM.log' for details.

gianmarco said...

Hi,

I have the same problem installing Oracle 11 on fedora 11g, though I followed the guide step by step.

Error in invoking target 'agent nmb nmo nmhs
tclexec' of makefile '/u01/app/oracle/product/11.1.0/db_1/sysman/lib/ins_emagent.mk'.

What did I do wrong?

thanks
gianmarco

Vicky Ronnen said...

What's wrong with FC11 32bit install?
In glibc_s.so.* there is an reference to __stack_chk_fail@GLIBC_2.4 which cannot be resolved in the linking fase.

I did not find a way yet to resolve this.
Googling on this error, I think something is wrong in FC11.
I even tried to write a dummy __stack_chk_fail() function, but it's only triggering other link errors.

So I stick to FC10 for now, got to pass the Forms OCP exam...

Vicky Ronnen said...

Thanks for the page!
Saved me lot's of time.

Vicky Ronnen said...

just cracked the problem:

Default install of FC11, Software Develepment and Webserver groups selected during install.
yum update -y
reboot.

I found out that the installer is using ksh, which is not installed by default and not mentioned in manuals.
So:
sudo yum install ksh -y

On the webpage http://www.oracle.com/technology/software/products/middleware/htdocs/111110_fmw.html there is an entry for GCC Libraries.
Download the file mentioned as disk1 (as_linux_x86_gcc_runtime_lib_access_manager_101401.cpio)

Extract the as_linux_x86_gcc_runtime_lib_access_manager_101401.cpio file:
cpio -i < as_linux_x86_gcc_runtime_lib_access_manager_101401.cpio

This gives you the Oracle_Access_Manager10_1_4_0_1_linux_GCClib.zip file
Unzip this one:

unzip Oracle_Access_Manager10_1_4_0_1_linux_GCClib.zip

This gives you 2 files:
libgcc_s.so.1
libstdc++.so.5

Now move the libgcc_s.so.1 file to /lib/libgcc_s.oracle.so.1
sudo mv libgcc_s.so.1 /lib/libgcc_s.oracle.so.1

And the most important one:
sudo ln -sf /lib/libgcc_s.oracle.so.1 /lib/libgcc_s.so

(Even after the ldconfig command is given in the reboot fase, the link for /lib/libgcc_s.so remains!)

Now you can start the intstaller by
./runInstaller.sh

And the linking will succeed.

You can reach me at vicky.ronnen@nccw.nl if you have questions.

Greetings,
Vicky

A L said...

Thanks for these instructions. I cannot say enough to how helpful it was in getting Oracle 11g going on my new laptop with Fedora 11.
F12 came out a few weeks back and I am wondering if anyone has upgraded from F11 to F12 with 11g already installed? I am primarily using my laptop for Oracle and would hate to see it break.
Cant wait to see new instructions from Tim for installing 11g on F12. Thanks again Tim. Great work as the only resource on subject.

Deidania Berru said...

I HAVE SAME PROBLEM BUT AIX 6.1 , ANY IDEA , HOW RESOLV ?

DO NOT ask technical questions here! They will be deleted!

These comments should relate to the contents of a specific article. Constructive criticism is good. Advertising and offensive comments are bad and will be deleted!

Add your comments here.
Name
Comment
(max 400 chars - plain text)