the lady with the hole in her stocking ([info]steph99) wrote,
@ 2008-02-12 18:16:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Entry tags:borked, stupid oracle, teh unix

just sayin'. (oracle)


# uname -a
Linux lolserver.domain 2.6.18-53.1.6.el5xen #1 SMP Wed Jan 16 04:10:44 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
$ ls
10201_database_linux_x86_64.cpio config-assistant-failures database install.txt kernel-requirements

You caught that, right? x86_64

INFO: gcc -m32 -o ctxhx -L/opt/oracle/oracle/product/10.2.0/gls/ctx//lib32/ -L/opt/oracle/oracle/product/10.2.0/gls/lib32/ -L/opt/oracle/oracle/product/10.2.0/gls/lib32/stubs/ /opt/oracle/oracle/product/10.2.0/gls/ctx/lib/ctxhx.o -L/opt/oracle/oracle/product/10.2.0/gls/ctx/lib/ -ldl -lm -lctxhx -Wl,-rpath,/opt/oracle/oracle/product/10.2.0/gls/ctx/lib -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /opt/oracle/oracle/product/1
INFO: 0.2.0/gls/lib/sysliblist`
INFO: /usr/bin/ld: crt1.o: No such file: No such file or directory
INFO: collect2: ld returned 1 exit status
INFO: make: *** [ctxhx] Error 1

# ls /usr/lib64/crt*
/usr/lib64/crt1.o /usr/lib64/crti.o /usr/lib64/crtn.o


You caught that too, right? gcc -m32, .../lib32. Fixed with yum install glibc-devel.i386. But I'm just sayin. Is there a good reason for this?


(Post a new comment)


[info]approachmdnight
2008-02-13 12:47 am UTC (link)
I don't know what ctxhx does, but I'm guessing they didn't feel like including a 64-bit binary of it. I'm sure the code used to build it is 64-bit-clean since Oracle runs on plenty of 64-bit platforms.

If it's just a small utility program, there's no real reason to make it 64-bit on platforms which can build 32-bit programs. I think it's kind of stupid that your distribution doesn't include i386 glibc by default.

Also, why does the Oracle install process require linking this yourself? I guess it saves them from worrying about glibc changes, but it's still a little wtf. Most enterprise software is like that though.

(Reply to this)(Thread)


[info]steph99
2008-02-13 12:54 am UTC (link)
You're probably right. You don't link it yourself, that's from the error log after the linking process failed. It all happens behind a pretty java app. Earlier in the process, the installer goes through prereq checks for kernel tweaks and network settings, so that would be a good place to do a check for needed objects/packages. When I first tried this on rhel3 (I think) a couple years ago, I couldn't get past these 32/64 bit errors and we ended up going with another distro. The server was a stripped down install that someone else did, and they probably thought we didn't need compat stuff. This is Oracle 10g, and they are up to 11 now. Curious if anything has changed.

(Reply to this)(Parent)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…