Page 1 of 1

Mageia and Oracle 11g compatibility

PostPosted: Nov 17th, '12, 22:43
by caskyline10
Hi,
Has anyone had success to get Oracle 11G 64 bit running on Mageia? Are there any plans to make Mageia compatible with Oracle 11g? I am testing Mageia 3 Alpha 3 and just experimenting with Oracle and it looks like there are a lot of prerequisite packages that are either not available or the wrong version.

Thanks

Re: Mageia and Oracle 11g compatibility

PostPosted: Nov 17th, '12, 22:59
by doktor5000
caskyline10 wrote:just experimenting with Oracle and it looks like there are a lot of prerequisite packages that are either not available or the wrong version.

Which packages would that be?

Re: Mageia and Oracle 11g compatibility

PostPosted: Nov 18th, '12, 23:29
by caskyline10
Hi,
Attached is an image of the requirements shown by the installer.
Oracle11gR2_requirements.jpeg
Oracle11gR2_requirements.jpeg (143.81 KiB) Viewed 3749 times

There are a few requirements that are not the correct version, like:
glibc-2.3.4-2.41 (Mageia 3 Alpha 3 has 2.16)
compat-libstdc++-33-3.2.3 (I don't see that in Mageia)
elfutils-libelf-0.97 (Mageia 3 Alpha 3 has .154)

I realize I could submit a bug report to request these be updated. I was just asking if it is already on the roadmap to make Mageia compatible with Oracle in the future.
Thanks

Re: Mageia and Oracle 11g compatibility

PostPosted: Nov 19th, '12, 00:04
by doktor5000
caskyline10 wrote:I realize I could submit a bug report to request these be updated.

No, as Mageia already contains newer versions then required. Older versions cannot be reintroduced.

Re: Mageia and Oracle 11g compatibility

PostPosted: Nov 19th, '12, 00:42
by caskyline10
Looks to me that Mageia 3 Alpha 3 has older versions.
Look at for example:
elfutils-libelf. Oracle requires 0.97....Mageia has .154
glibc Oracle requires 2.3.4-2.41..........Mageia has 2.16

Re: Mageia and Oracle 11g compatibility

PostPosted: Nov 19th, '12, 00:59
by Ken-Bergen
caskyline10 wrote:Looks to me that Mageia 3 Alpha 3 has older versions.
Look at for example:
elfutils-libelf. Oracle requires 0.97....Mageia has .154
glibc Oracle requires 2.3.4-2.41..........Mageia has 2.16
154 is greater than 97
16 is greater than 3

Re: Mageia and Oracle 11g compatibility

PostPosted: Nov 19th, '12, 01:11
by alf
Ken-Bergen wrote:
caskyline10 wrote:Looks to me that Mageia 3 Alpha 3 has older versions.
Look at for example:
elfutils-libelf. Oracle requires 0.97....Mageia has .154
glibc Oracle requires 2.3.4-2.41..........Mageia has 2.16
154 is greater than 97
16 is greater than 3


Maybe OP is confused by ascii-collating-sequence where 97 is higher than 154 and 3 is higher than 16 ;)

Re: Mageia and Oracle 11g compatibility

PostPosted: Nov 19th, '12, 22:08
by doktor5000
What may get you into trouble is more the fact that Mageia doesn't have the really old gcc-3.x but only 4.6 and only the newer libstdc++6-4.6.3-2.mga2 belonging to this newer gcc compiler. But you don't know until you try it out.

Re: Mageia and Oracle 11g compatibility

PostPosted: Nov 20th, '12, 01:04
by caskyline10
Yes I was getting confused by the ascii-collating-sequence where 97 is higher then 154....sorry about the confusion.

I will continue to try it out.
Thanks

Re: Mageia and Oracle 11g compatibility

PostPosted: Nov 20th, '12, 06:01
by caskyline10
When I install Oracle I get this error:
INFO: /usr/bin/ld: warning: libstdc++.so.5, needed by /home/test1/app/test1/product/11.2.0/dbhome_1/ctx/lib//libsc_fa.so, not found (try using -rpath or -rpath-link)

Mageia3 has /usr/lib64/libstdc++.so.6, which is just a link to libstdc++.so.6.0.17. If I make a new link called libstdc++.so.5 to libstdc++.so.6.0.17:

Code: Select all
cd /usr/lib64
root@localhost lib64]# ls -latr libstd*
-rwxr-xr-x 1 root root 981400 Oct 24 15:17 libstdc++.so.6.0.17*
lrwxrwxrwx 1 root root     19 Nov 11 13:19 libstdc++.so.6 -> libstdc++.so.6.0.17*
[root@localhost lib64]# ln -s libstdc++.so.6.0.17 libstdc++.so.5
[root@localhost lib64]# ls -latr libstd*
-rwxr-xr-x 1 root root 981400 Oct 24 15:17 libstdc++.so.6.0.17*
lrwxrwxrwx 1 root root     19 Nov 11 13:19 libstdc++.so.6 -> libstdc++.so.6.0.17*
lrwxrwxrwx 1 root root     19 Nov 19 19:15 libstdc++.so.5 -> libstdc++.so.6.0.17*


When I try the install again I get this error:
INFO: /lib64/libstdc++.so.5: undefined reference to `__stack_chk_fail@GLIBC_2.4'

There is something not compatible.

Re: Mageia and Oracle 11g compatibility

PostPosted: Nov 20th, '12, 21:36
by doktor5000
Well just compare the glibc versions required and present, and you will see the huge difference.

FWIW, if you want to search for the library containing that symbol you can use something like
Code: Select all
for f in /usr/lib/*.so.*; do objdump -t -T $f | grep stack_chk_fail | grep -v '*UND*' && echo $f; done