Re: Oracle shared object files on Solaris, and ELF class.

2003-11-19 Thread Yong Huang
Grant,

You can simply use the file command to find out the ELF class. If it reports
32-bit, it's ELFCLASS32; if it's 64-bit, i's ELFCLASS64. When you say client
shadow process, I assume you mean the shadow process on the server (as a
shadow of the client in dedicated configuration).

You may want to check all libraries under $ORACLE_HOME/lib: cd
$ORACLE_HOME/lib; file * | grep 64; file * | grep 32. If they're mixed, you
need to relink.

Yong Huang

--- Grant Allen [EMAIL PROTECTED] wrote:
 Hi all,
 
 Looking for possible causes for a ELFCLASS64 version of
 /oracle/product/8.1.7/lib/libobk.so accidentally cropping up for a 32-bit
 install.  This was on a client site ... so some details I can't disclose ...
 but it's a clean 8.1.7.0.0 install under Solaris (8 I think).  Caused the
 client shadow process to bomb out with a fatal error
 
 (Looked like this in the trace file
 dlopen gets error 'ld.so.1: ora_s000_ORCL:
 fatal: /u01/app/oracle/product/8.1.7/lib/libobk.so: wrong ELF class:
 ELFCLASS64
 ' when opening object  )
 
 Failing that, does anyone know of a utility that can check the elf class of
 .so files under Solaris?  A google (and search on sun.com) for such a beast
 drew a blank.
 
 Thanks
 Fuzzy

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Yong Huang
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


Oracle shared object files on Solaris, and ELF class.

2003-11-18 Thread Grant Allen
Hi all,

Looking for possible causes for a ELFCLASS64 version of 
/oracle/product/8.1.7/lib/libobk.so accidentally cropping up for a 32-bit install.  
This was on a client site ... so some details I can't disclose ... but it's a clean 
8.1.7.0.0 install under Solaris (8 I think).  Caused the client shadow process to bomb 
out with a fatal error

(Looked like this in the trace file
dlopen gets error 'ld.so.1: ora_s000_ORCL:
fatal: /u01/app/oracle/product/8.1.7/lib/libobk.so: wrong ELF class: ELFCLASS64
' when opening object  )

Failing that, does anyone know of a utility that can check the elf class of .so files 
under Solaris?  A google (and search on sun.com) for such a beast drew a blank.

Thanks
Fuzzy
:-)


--
The contents of this post are my opinions only
  If swallowed seek medical advice 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Grant Allen
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


Re: Oracle shared object files on Solaris, and ELF class.

2003-11-18 Thread Mladen Gogala
ldd?

On 2003.11.19 00:19, Grant Allen wrote:
Hi all,

Looking for possible causes for a ELFCLASS64 version of
/oracle/product/8.1.7/lib/libobk.so accidentally cropping up for a 32-bit
install.  This was on a client site ... so some details I can't disclose ...
but it's a clean 8.1.7.0.0 install under Solaris (8 I think).  Caused the
client shadow process to bomb out with a fatal error
(Looked like this in the trace file
dlopen gets error 'ld.so.1: ora_s000_ORCL:
fatal: /u01/app/oracle/product/8.1.7/lib/libobk.so: wrong ELF class:
ELFCLASS64
' when opening object  )
Failing that, does anyone know of a utility that can check the elf class of
.so files under Solaris?  A google (and search on sun.com) for such a beast
drew a blank.
Thanks
Fuzzy
:-)
--
The contents of this post are my opinions only
  If swallowed seek medical advice
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Grant Allen
  INET: [EMAIL PROTECTED]
Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
--
Mladen Gogala
Oracle DBA
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Mladen Gogala
 INET: [EMAIL PROTECTED]
Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).