Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72216 - Failure in Oracle installer on amd64 with hackish solution
Summary: Failure in Oracle installer on amd64 with hackish solution
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 All
: High normal (vote)
Assignee: AMD64 Project
Depends on:
Reported: 2004-11-23 03:46 UTC by Shevek
Modified: 2005-05-05 01:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Shevek 2004-11-23 03:46:00 UTC
gcc -m32 is failing to find the appropriate libc for relinking oracle. Amongst other problems:

gcc -o /opt/oracle/product/10.1.0/OUIHome1/sysman/lib/nmo -m32 -L/opt/oracle/product/10.1.0/OUIHome1/lib32/  -L/opt/oracle/product/10.1.0/OUIHome1/lib32/stubs/ -L/opt/oracle/product/10.1.0/OUIHome1/sysman//lib32/ -L/opt/oracle/product/10.1.0/OUIHome1/sysman/lib/     `cat /opt/oracle/product/10.1.0/OUIHome1/lib32/sysliblist` -Wl,-rpath,/opt/oracle/product/10.1.0/OUIHome1/lib32 -lm    `cat /opt/oracle/product/10.1.0/OUIHome1/lib32/sysliblist` -ldl -lm   -L/opt/oracle/product/10.1.0/OUIHome1/lib /opt/oracle/product/10.1.0/OUIHome1/sysman//lib32/s0nmo.o /opt/oracle/product/10.1.0/OUIHome1/sysman//lib32/libnmo.a -lcrypt -Wl,-rpath,/opt/oracle/product/10.1.0/OUIHome1/lib32   `cat /opt/oracle/product/10.1.0/OUIHome1/lib32/sysliblist` -ldl -lm 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc_nonshared.a when searching for /usr/lib/libc_nonshared.a
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find /usr/lib/libc_nonshared.a
collect2: ld returned 1 exit status

This seems to be something to do with Oracle shipping its own version of libc.

Solution (hackish):

1. Edit /opt/oracle/product/10.1.0/OUIHome1/lib32/stubs/
2, Remove /usr/lib/libc_nonshared.a
3. Add /emul/linux/x86/usr/lib/libc_nonshared.a
4. File now reads: GROUP ( /emul/linux/x86/usr/lib/libc_nonshared.a )
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2005-05-04 01:19:39 UTC
uh, this bug is terribly old... what package and which version of it did you use? a fast emerge -s only gives me these 2 packages available on amd64:

* dev-java/jdbc2-oracle
* dev-java/jdbc3-oracle

sorry for the huge delay
Comment 2 Shevek 2005-05-04 15:57:22 UTC
This is nothing to do with jdbc. This is how to install oracle proper, version 10.x for amd64-linux. We never successfully installed the product on gentoo in the end, because of the mentioned problem, and we had to buy a separate x86-32 box.
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2005-05-05 01:52:08 UTC
that's what i thought. i'm sorry, but we can't help you, your product is not in portage and so we have no influence on what they do.