View Single Post

   
  #1 (permalink)  
Old 02-24-2008, 07:14 AM
Evan
 
Posts: n/a
Default Solaris 9205 3811906 patch #68 ELFCLASS32 errors

Help please:

Running the Solaris 9205 3811906 patch for security notice #68, we get
ld: fatal: file /usr/ucblib/libucb.so: wrong ELF class: ELFCLASS32
errors.

I have scanned the newsgroup and metalink.
I found several cases where the symptoms matched.
I have yet to find a clear solution when all the parts are present.

I am not strong in Solaris, so simple answers are the best.

Thanks
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/etc/system shows:
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmseg=10
set shmsys:shminfo_shmmni=100
set semsys:seminfo_semopm=100
set semsys:seminfo_semvmx=32767

set semsys:seminfo_semmns=3000
set semsys:seminfo_semmsl=10010
set semsys:seminfo_semmni=256
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Proper libs are in place:
/etc > file /usr/lib/sparcv9/libmakestate.so.1
/usr/lib/sparcv9/libmakestate.so.1:
ELF 64-bit MSB dynamic lib SPARCV9 Version 1,
dynamically linked, not stripped

/etc > pkginfo -i SUNWsprox
system SUNWsprox
Sun WorkShop Bundled 64-bit make library
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Environment
Solaris 9. Oracle 9.2.0.5 with no interum patches.
We have many databases, one listener, and the int agent running on the box.

Environment variables includes:
LD_LIBRARY_PATH=/u01/app/oracle/product/920/lib:/usr/dt/lib

PATH=/u01/app/oracle/product/920/bin:/usr/bin:/etc:/usr/sbin:
/usr/local/bin:/usr/ucb:/home/oracle/bin:/usr/bin/X11:/sbin:
.:/usr/ccs/bin:/usr/lib:.:/opt/bin:/bin

ORACLE_HOME=/u01/app/oracle/product/920

ORA_NLS32=/u01/app/oracle/product/920/ocommon/nls/admin/data

ORACLE_PATH=.:/u01/app/oracle/product/920/bin:
/u01/app/oracle/product/920/obackup/bin:
/opt/bin:/bin:/usr/bin:/usr/ccs/bin
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Command:
$ORACLE_HOME/OPatch $> perl opatch.pl apply /exp/patches/3811906 -verbose
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Errors:
OPatch encounters the following issues during Make:
There were problems running make commands. The errors encounted were:
FATAL ERROR: /u01/app/oracle/product/920/bin/genclntsh
ar: creating /u01/app/oracle/product/920/lib/libclntst9.a
Created /u01/app/oracle/product/920/lib/libclntst9.a
ar: creating /u01/app/oracle/product/920/lib32/libclntst9.a
Created /u01/app/oracle/product/920/lib32/libclntst9.a
/u01/app/oracle/product/920/bin/genoccish
ld: fatal: file /usr/ucblib/libucb.so: wrong ELF class: ELFCLASS32
ld: fatal: file /usr/lib/libresolv.so: wrong ELF class: ELFCLASS32
ld: fatal: file /usr/lib/libsocket.so: wrong ELF class: ELFCLASS32

And much much more.

Reply With Quote