hotsouce
Nov 11 2008, 04:34 PM
Hi all,
I have big problem with instalation Oracle Database 10g2 on SuSe Linux Enterprise Server 10 SP2 on Power platform.
(Power platform is IBM pSeries)
All steps in installation goes corret till linking. During linking is error : "error invoking 'client_sharedlib'"
Error screen:
http://img146.imageshack.us/my.php?image=oraclebadbo4.pngHelp me, please.
SteveC
Nov 11 2008, 04:44 PM
Please post the exact error message, not your interpretation of what it says.
Something more along the lines of:
error invoking target client_sharedlib of makefile /opt/oracle/product/10.2/db_1/network/lib/ins_net_client.mk
Probably missing an OS-level patch/wrong version of gcc if make does not work.
hotsouce
Nov 11 2008, 04:52 PM
here you are ;-)
"Error in invoking target 'client_sharedlib' of makefile '/home/oracle/oracle/product/10.2.0/db_1/network/lib/ins_net_client.mk'"
SteveC
Nov 11 2008, 05:00 PM
Review the make log and see which file (or files) is missing.
hotsouce
Nov 11 2008, 05:10 PM
I can't now show logs, because I am at home. i can't remote login (security policy), but i remember something that:
"ld : invoking -lxl"
hotsouce
Nov 12 2008, 04:22 AM
Screen error is below:
http://img146.imageshack.us/my.php?image=oraclebadbo4.pngMy log file is here :
CODE
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Calling Action unixActions10.2.0.1.0 make
installMakePath = /usr/bin/make
installMakeFileName = /u01/app/oracle/product/10.1.0/db_1/network/lib/in
s_net_client.mk
installTarget = client_sharedlib
installArguments = ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1,
undoMakeFileName = null
undoTarget = null
undoArguments = null
logFile = /u01/app/oracle/product/10.1.0/db_1/install/make.log
progMsg = Building client shared libraries
INFO: The output of this make operation is also available at: '/u01/app/oracle/p
roduct/10.1.0/db_1/install/make.log'
INFO:
INFO: Start output from spawned process:
INFO: ----------------------------------
INFO:
INFO: /u01/app/oracle/product/10.1.0/db_1/bin/genclntsh
INFO: /usr/bin/ld: cannot find -lxl
INFO: collect2: ld returned 1 exit status
INFO:
INFO: genclntsh: Failed to link libclntsh.so.10.1
INFO: make: *** [client_sharedlib] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'client_sharedlib' of makefile '/u01/
app/oracle/product/10.1.0/db_1/network/lib/ins_net_client.mk'. See '/u01/app/ora
cle/oraInventory/logs/installActions2008-11-07_10-34-49AM.log' for details.
Exception Severity: 1
INFO: Exception handling set to prompt user with options to Retry Ignore
User Choice: Retry
INFO: The output of this make operation is also available at: '/u01/app/oracle/p
roduct/10.1.0/db_1/install/make.log'
INFO:
INFO: Start output from spawned process:
INFO: ----------------------------------
INFO:
INFO: /u01/app/oracle/product/10.1.0/db_1/bin/genclntsh
INFO: /
INFO: usr/bin/ld: cannot find -lxl
collect2: ld returned 1 exit status
INFO: genclntsh: Failed to link libclntsh.so.10.1
INFO: make: *** [client_sharedlib] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'client_sharedlib' of makefile '/u01/
app/oracle/product/10.1.0/db_1/network/lib/ins_net_client.mk'. See '/u01/app/ora
cle/oraInventory/logs/installActions2008-11-07_10-34-49AM.log' for details.
Exception Severity: 1
WARNING: This will stop installation of all products and exit the Installer. Are
you sure that you want to stop the installation and exit?
INFO: User Selected: Yes/OK
SteveC
Nov 12 2008, 05:01 AM
make.log, not the OUI log. Anyway, the /usr/bin/ld: cannot find -lxl error means you are missing something in your setup or something on the OS (like a required RPM per the install guide). Which version of Oracle, as in 32 versus 64-bit?
Operating System: IBM Linux on POWER Version SLES-10
Oracle Database - Enterprise Edition Version 10gR2 64-bit
N/A Version N/A
Status: Certified
hotsouce
Nov 12 2008, 05:19 AM
1. Oracle and Novell have not any guide for SLES 10 SP2 on PowerLinux. I used guide for SLES 9. I installed all avalible package (rpm's).
2. My Linux (SLES 10 SP2) has "kernel 2.6.16.60-0.21-ppc64".
Signature:
SLES-10-CD-ppc-GMC-CD1.iso 698.7 MB (732708864)
SLES-10-CD-ppc-GMC-CD2.iso 676.2 MB (709072896)
SLES-10-CD-ppc-GMC-CD3.iso 399.3 MB (418719744)
SLES-10-CD-ppc-GMC-CD4.iso
SLES stands on IBM pSeries 570.
3. Oracle 10gR2 - (Oracle Database 10g Release 2 (10.2.0.1.0) for Linux on Power )
4. Novell certified Oracle 10 on SLES 10 SP2.
burleson
Nov 12 2008, 07:38 AM
>> means you are missing something in your setup or something on the OS (like a required RPM per the install guide).
Have you pre-installed the C/C++ Runtime Environment?
It could also be a PATHing issue, like LD_LIBRARY_PATH or ORACLE_HOME.
What is your setitng for LD_LIBRARY_PATH and ORACLE_HOME?
What does this say?
CODE
tail -25 $ORACLE_HOME/install/make.log
******************************************************
>> 1. Oracle and Novell have not any guide for SLES 10 SP2 on PowerLinux.
Huh? Is this not supported?Run a 'uname -a' and see if it shows x86_64?
Also see here:
http://www.novell.com/coolsolutions/appnote/17778.htmlYou have the required pre-install checklist or prerequisites, right?
See here:
http://download-east.oracle.com/docs/cd/B1...l.htm#sthref111******************************************************
>> SLES stands on IBM pSeries 570.
Nice box. How may CPU's? This is a 64-bit server, you have a 64-bit Linux, and a 64-bit Oracle release?
*******************************************************
>> See '/u01/app/oracle/oraInventory/logs/installActions2008-11-07_10-34-49AM.log' for details
What does this file say?
Anyway, this type of makefile error is almost always a PATH of filesystem configuration issue . . .
hotsouce
Nov 12 2008, 08:41 AM
I used "orarun" for first install Oracle- NOVELL recommended (I don't know it is good idea)
AD 1)
My PATHs :
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32
C/C++ Runtime Environment.
ITS screen from YAST:
http://img513.imageshack.us/my.php?image=oraclebad1zi2.jpg What is C/C++ Runtime Envirnoment for you?
hotsouce
Nov 12 2008, 08:45 AM
>> SLES stands on IBM pSeries 570.
Nice box. How may CPU's? This is a 64-bit server, you have a 64-bit Linux, and a 64-bit Oracle release?
*******************************************************
64 cpus. I used only LPAR ;-)
ALL is 64-bit.
hotsouce
Nov 12 2008, 08:50 AM
tail return :
CODE
rm -f /u01/app/oracle/product/10.1.0/db_1/lib/nnfgt.o;\
mv nnfgt.o /u01/app/oracle/product/10.1.0/db_1/lib/;\
/usr/bin/ar rv /u01/app/oracle/product/10.1.0/db_1/lib/libn10.a /u01/app/oracle/product/10.1.0/db_1/lib/nnfgt.o; fi)
(if [ "compile" = "oratmp" ]; then \
/u01/app/oracle/product/10.1.0/db_1/bin/gennfgt > nnfgt.c;\
/lib/idcpp nnfgt.c oratmp.c;\
-i oratmp.c -o oratmp.s -f nnfgt.c;\
/usr/bin/as -a64 -mppc64 -o nnfgt.o oratmp.s;\
rm -f oratmp.c oratmp.s;\
rm -f /u01/app/oracle/product/10.1.0/db_1/lib/nnfgt.o;\
mv nnfgt.o /u01/app/oracle/product/10.1.0/db_1/lib/;\
/usr/bin/ar rv /u01/app/oracle/product/10.1.0/db_1/lib/libn10.a /u01/app/oracle/product/10.1.0/db_1/lib/nnfgt.o; fi)
(if [ "compile" = "binary" ]; then \
/u01/app/oracle/product/10.1.0/db_1/bin/gennfgt > nnfgt.c;\
TARGET_BINARY_INTERFACE=;\
export TARGET_BINARY_INTERFACE;\
gcc -m64 -c nnfgt.c;\
-rm -f /u01/app/oracle/product/10.1.0/db_1/lib/nnfgt.o;\
-mv nnfgt.o /u01/app/oracle/product/10.1.0/db_1/lib/;\
/usr/bin/ar rv /u01/app/oracle/product/10.1.0/db_1/lib/libn10.a /u01/app/oracle/product/10.1.0/db_1/lib/nnfgt.o; fi)
/usr/bin/make -f ins_net_client.mk client_sharedlib ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1//u01/app/oracle/product/10.1.0/db_1
/bin/genclntsh
/usr/bin/ld: cannot find -lxl
collect2: ld returned 1 exit status
genclntsh: Failed to link libclntsh.so.10.1
make: *** [client_sharedlib] Error 1
CODE
uname -a
return:
CODE
Linux t12ai 2.6.16.60-0.21-ppc64 #1 SMP Tue May 6 12:41:02 UTC 2008 ppc64 ppc64 ppc64 GNU/Linux
aussie_dba
Nov 12 2008, 09:07 AM
This is your salient error message:
genclntsh: Failed to link libclntsh.so.10.1Did you verify that you are doing a supported install?
"LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32"
Why 32 bit? This is a 64-bit server, is it not?
Why not use 64-bit Linux with 64-bit Oracle?In some cases you must disable 64-bit linking before install.
Try using "linux32 bash":
CODE
#!/bin/sh
gcc. bck -m32 $*
Or you can replace gcc by "gcc -m32" and re run your make.
burleson
Nov 12 2008, 09:10 AM
It sure looks like you are installing 32-bit Oracle on a 64-bit server.
What is the Linux, 32-bit or 64-bit?
Also see Metalink Note 340861.1
You CANNOT install x86 Oracle on an x86_64 server . . .
hotsouce
Nov 12 2008, 09:15 AM
I use 64-bit linux and ORACLE for Linux PowerPlatform/
I add this PATH "LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32" ,because I try all what i can find in Google.
hotsouce
Nov 12 2008, 09:20 AM
I install Oracle 10 from this link
Oracle Database 10g Release 2 (10.2.0.1.0)
Enterprise/Standard Edition for Linux on Power
is it 32 or 64 bit version ?
CODE
http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201ppclinuxsoft.html
maybe i should install this
Oracle Database 10g Release 2 (10.2.0.1.0)
Enterprise/Standard Edition for Linux x86-64
CODE
http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201linx8664soft.html
burleson
Nov 12 2008, 09:26 AM
Hi,
Wow, a 64 CPU server, that's a mainframe on a stick. . . .
I'm jealous, what a screamer!!
>> I add this PATH "LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32" ,because I try all what i can find in Google.
Um, how about using the 64-bit libraries?
As I suspected, it;s a pathing issue . . . .
Set LD_LIBRARY_PATH to $ORACLE_HOME/lib64
hotsouce
Nov 12 2008, 09:27 AM
How can i use this link below ?
"Also see Metalink Note 340861.1"
hotsouce
Nov 12 2008, 09:32 AM
I have't $ORACLE_HOME/lib64. I have only lib and lib32. It's mean that Oracle Database 10g Release 2 (10.2.0.1.0)
Enterprise/Standard Edition for Linux on Power is 32bit version ?
burleson
Nov 12 2008, 09:32 AM
>> Oracle Database 10g Release 2 (10.2.0.1.0) Enterprise/Standard Edition for Linux x86-64
That sounds right. . . .
You agree, it's insane to install 32 bit Linux and 32-bit Oracle on a 64-bit server?
>> Linux t12ai 2.6.16.60-0.21-ppc64 #1 SMP Tue May 6 12:41:02 UTC 2008 ppc64 ppc64 ppc64 GNU/Linux
Did you confirm that this 64-bit Linux supported for 64-bit Oracle?
Just curious, you sound like a beginner, right?
It's quite rare for a newbie to be installing Oracle on a multi-million dollar server . . .
Anyway, nuke your old Oracle libs and start over with the 64-bit release of Oracle and CAREFULLY go through the preinstall prerequisites . . .
hotsouce
Nov 12 2008, 09:47 AM
"You agree, it's insane to install 32 bit Linux and 32-bit Oracle on a 64-bit server?"
Yes i agree
1. Server is 64-bit
2. Linux SLES 10 is 64-bit
3. Oracle PowerPlatform i think is 64 bit too.
I installed Oracle on AIX(PPC of course) , Linux x86_64 (on VMware), but on Linux PPC it is my first time :-)
hotsouce
Nov 12 2008, 09:56 AM
OK, my questions is : IF YOU HAVE SUSE LINUX ENTERPRISE SERVER 10 SP2 for PPC. WHICH VERSION OF ORACLE DO YOU INSTALL ?
A) Oracle Database 10g Release 2 (10.2.0.1.0) Enterprise/Standard Edition for Linux on Power
B)Oracle Database 10g Release 2 (10.2.0.1.0) Enterprise/Standard Edition for Linux x86-64
please, choose answer A or B ?
HAL9000
Nov 12 2008, 11:14 AM
"please, choose answer A or B ? "
How about the 64-bit version?
hotsouce
Nov 12 2008, 12:12 PM
This was a question for burleson
burleson
Nov 12 2008, 12:23 PM
Hi,
>> Linux x86_64 (on VMware),
Oh, vmware eh? BTW, Dr. Scalzo has a new book on Oracle VMware:
http://www.rampant-books.com/book_2008_1_oracle_vmware.htm***************************************
>> SUSE LINUX ENTERPRISE SERVER 10 SP2 for PPC
That's a 64-bit OS . . .
Well, I've not checked the compatibility matrix, but it looks like the 64-bit Oracle is the way to go . . .
burleson
Nov 12 2008, 12:26 PM
>> see Metalink Note 340861.1
>> How can i use this link below ?
You don't know what MetaLink is? Have you had the required Oracle DBA training?
If not, I would insist that your boss send you to Oracle University ASAP!
Metalink has all of the compatibility matrixes, everything you need to know to do this install:
http://metalink.oracle.comHere is the compatibility matrix:
http://www.novell.com/products/server/oracle/matrix.htmlhttps://metalink2.oracle.com/metalink/certi...s1.addtl_matrix
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.