Re: [Hampshire] Compatibilty issues installing 64 bit Oracle…

Top Page

Reply to this message
Author: tony.lambert
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Compatibilty issues installing 64 bit Oracle onto64-bit Ubuntu
Hello Victor

Doing some digging, I believe RH/SUSE's glibc-devel package roughly equates
to Ubuntu's libc6-dev, so the 32bit version of that should suffice.

Here's the metalink info quoted (doc id 656374.993) :

<metalink snippet>
hi,
i've (maybe) the same problem, i'm installing on
SUSE LINUX Enterprise Server 9 (x86_64)
VERSION = 9
PATCHLEVEL = 3
and while linking
gcc -m32 -o ctxhx -L/opt/oracle/product/10.2.0/db_1/ctx//lib32/
-L/opt/oracle/product/10.2.0/db_1/lib32/ -L/opt/oracle/product/10.2.0
/db_1/lib32/stubs/ /opt/oracle/product/10.2.0/db_1/ctx/lib/ctxhx.o
-L/opt/oracle/product/10.2.0/db_1/ctx/lib/ -ldl -lm -lctxhx
-Wl,-rpath,/opt/oracle/product/10.2.0/db_1/ctx/lib -lsnls10 -lnls10
-lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10
-lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /opt/oracle/product/10.2.0
/db_1/lib/sysliblist`
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3
/../../../../x86_64-suse-linux/bin/ld: skipping incompatible
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../libpthread.so when
searching for -lpthread
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3
/../../../../x86_64-suse-linux/bin/ld: skipping incompatible
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../libpthread.a when
searching for -lpthread
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3
/../../../../x86_64-suse-linux/bin/ld: cannot find -lpthread
collect2: ld returned 1 exit status
make: *** [ctxhx] Error 1
it seems a problem with linking 32bit

i've completed the installation after installing package glibc-devel-32bit
that is not speficified in the official
documentation

bye

Thanks to all who helped on this one. As Cristian mentioned, it ended up
being that I was missing the 32-bit version of glibc-devel package.

Thanks to all,

Matt

</metalink snippet>

HTH - Tony

-----hampshire-bounces@??? wrote: -----

To: Hampshire LUG Discussion List <hampshire@???>
From: Victor Churchill <victorchurchill@???>
Sent by: hampshire-bounces@???
Date: 06/04/2009 17:04
Subject: Re: [Hampshire] Compatibilty issues installing 64 bit Oracle onto
64-bit Ubuntu

Bah. GMail dropped me. Sorry. Reprise:

2009/4/5  <tony.lambert@???>:
> Hello Victor
>
> I managed to turn up something from MetaLink for you - someone had the
> exact same error as yourself on RH.
> Turns out they didn't have the 32bit version of glibc-devel installed,

and
> this fixed their issue.
> Apparently it's an undocumented requirement - Oracle are very good at
> those.


Hello again Tony,

I have had another go but was not sure exactly which libraries you're
referring to. Could you possibly quote the Metalink info?

Mainly following [1] I have done:

sudo apt-get install build-essential libaio1 gawk ksh libmotif3 alien
libtool lsb-rpm
sudo apt-get install libc6-i386  libc6-dev-i386
sudo apt-get install ia32-libs

I did an apt-cache search glibc-devel but did not find anything. Do
you remember the package name(s)?

thanks!

victor

[1]
http://www.pythian.com/news/968/installing-oracle-11g-on-ubuntu-804-lts-hardy-heron



--
regards,

Victor Churchill, Qonnectis

--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------

Think before you print - save energy and paper

This email originates from Steria*. It, and any attachments, may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You may not copy, forward, disclose, save or otherwise use it in any way if you are not the addressee(s) or responsible for delivery.
If you receive this email by mistake, please advise the sender and cancel it immediately.
Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures.
Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited.
_____________________________________________________
* Steria Limited, number 4077975;
Steria Recruitment Limited, number 1437998.
Registered in England and Wales; registered office Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH