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/libc.so 2, Remove /usr/lib/libc_nonshared.a 3. Add /emul/linux/x86/usr/lib/libc_nonshared.a 4. File now reads: GROUP ( libc.so.6 /emul/linux/x86/usr/lib/libc_nonshared.a )
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
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.
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.