Symptoms
While installing Oracle Database Server on LINUX x86-64 the following error occurs during linking:
The install log has the following entries:
Start output from spawned process:
----------------------------------
make -f /u01/app/oracle/orahome_1/sysman/lib/ins_sysman.mk relink_sharedobj SHAREDOBJ=libnmemso
make[1]: Entering directory `/u01/app/oracle/orahome_1/sysman/lib'
gcc -o /u01/app/oracle/orahome_1/sysman/lib/libnmemso.so -m32 -Wl,--whole-archive -shared -L/u01/app/oracle/orahome_1/lib32/ -L/u01/app/oracle/orahome_1/lib32/stubs/ -L/u01/app/oracle/orahome_1/sysman//lib32/ -L/u01/app/oracle/orahome_1/lib/ -L/u01/app/oracle/orahome_1/lib -L/u01/app/oracle/orahome_1/sysman/lib/ -Wl,-rpath,/u01/app/oracle/orahome_1/lib32/:/u01/app/oracle/orahome_1/sysman//lib32/ /u01/app/oracle/orahome_1/sysman//lib32/libnmem.a /u01/app/oracle/orahome_1/sysman//lib32/libnmer.a /u01/app/oracle/orahome_1/sysman//lib32/libnmeu.a /u01/app/oracle/orahome_1/sysman//lib32/libnmt.a /u01/app/oracle/orahome_1/sysman//lib32/libnml.a /u01/app/oracle/orahome_1/sysman//lib32/libnmee.a /u01/app/oracle/orahome_1/sysman//lib32/libnmefmgr.a /u01/app/oracle/orahome_1/sysman//lib32/libnmevr.a /u01/app/oracle/orahome_1/sysman//lib32/libnmehu.a /u01/app/oracle/orahome_1/sysman//lib32/libnmehl.a /u01/app/oracle/orahome_1/sysman//lib32/libnmepm.a /u01/app/oracle/orahome_1/sysman//lib32/libnmedc.a /u01/app/oracle/orahome_1/sysman//lib32/libnmedt.a /u01/app/oracle/orahome_1/sysman//lib32/libnmedm.a /u01/app/oracle/orahome_1/sysman//lib32/libnmedr.a /u01/app/oracle/orahome_1/sysman//lib32/libnmeb.a /u01/app/oracle/orahome_1/sysman//lib32/libnmec.a /u01/app/oracle/orahome_1/sysman//lib32/libnmesched.a /u01/app/oracle/orahome_1/sysman//lib32/libnmectl.a /u01/app/oracle/orahome_1/sysman//lib32/libnmejc.a /u01/app/oracle/orahome_1/sysman//lib32/libnmej.a -L/u01/app/oracle/orahome_1/jdk/jre//lib/i386/client -L/u01/app/oracle/orahome_1/jdk/jre//lib/i386 -z lazyload -ljava -ljvm -lverify -z nolazyload -Wl,-rpath,/u01/app/oracle/orahome_1/lib32/:/u01/app/oracle/orahome_1/sysman//lib32/:/u01/app/oracle/orahome_1/jdk/jre//lib/i386/client:/u01/app/oracle/orahome_1/jdk/jre//lib/i386 /u01/app/oracle/orahome_1/sysman//lib32/libnmeclumgr.a /u01/app/oracle/orahome_1/sysman//lib32/libnmecluster.a /u01/app/oracle/orahome_1/sysman//lib32/libnmexml.a -Wl,--no-whole-archive -lxml10 -lcore10 -lnls10 -lunls10 -lclntsh -lnnz10 -lpthread -lnsl -lm -ldl -Wl,-rpath,/u01/app/oracle/orahome_1/lib32 `cat /u01/app/oracle/orahome_1/lib32/sysliblist` -ldl -lm
/u01/app/oracle/orahome_1/lib32//libclntsh.so: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [/u01/app/oracle/orahome_1/sysman/lib/libnmemso.so] Error 1
make[1]: Leaving directory `/u01/app/oracle/orahome_1/sysman/lib'
make: *** [libnmemso] Error 2
End output from spawned process.
----------------------------------
Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'agent emsubagent nmo nmb' of makefile '/u01/app/oracle/orahome_1/sysman/lib/ins_sysman.mk'.
Exception Severity: 1
Cause
The required mandatory RPM's have not been installed per:
Note 851598.1 Linux OS Requirements Reference List for Database Server
Solution
Check that the following RPM's have been installed:
gcc-3.3.3-43
gcc-c++-3.3.3-43
glibc-2.3.3-98
libaio-0.3.98-18
libaio-devel-0.3.98-18
make-3.80
openmotif-2.2.2-519.1
Please note that the 32-bit version of glibc must also be installed. The exact version is not relevant here, what is relevant is that they are installed on the OS from the 32bit version of the rpm per:
Note 851598.1 Linux OS Requirements Reference List for Database Server
For RedHat the following rpm command can be used to distinguish between a 32-bit or 64-bit package:
% rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep glibc-devel
glibc-devel-2.5-12 (x86_64) <glibc-devel-2.5-12(i386) <
For SuSE/SLESx the following command will note the 32bit RPM's installed:
% rpm -qa | grep 32bit
glibc-devel-32bit-9-200512100801
While the Oracle media being used for the installation is 64 bit, there are some components
which require the 32bit RPM's to link Oracle successfully.
The important distinction between 32bit and 64bit rpms is that 32bit rpms will be listed
under the tag i386 or 32bit and the 64bit RPM's will be listed under x86_64 tag for your
SMP OS. For example:
SuSe/SLES
----------
% uname -a
Linux <machine name> 2.6.5-7.244-smp #1 SMP Mon Dec 12 18:32:25 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux
RedHat
------
% uname -a
Linux <machine name> 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
No comments:
Post a Comment