Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> libperf error while linking (installing Oracle 9i on AIX 5L)
Hello,
sorry for the crosspost, but I actually don't know whether the error I encountered is an Oracle or an AIX issue. AIX experts please read because it seems I have an error in a library.
I hope somebody will be able to help me, because I *have* to install that thing, but I'm no expert neither of AIX nor of Oracle installing.
I am installing Oracle 9i version 9.2.0.1.0 (the Enterprise install) on
an IBM machine with AIX 5L (5.1).
At the stage of linking (after it writes install successful), it gives
me this error:
Error in invoking target install of makefile
/foo/bar/OraHome2/sqlplus/lib/ins_sqlplus.mk
So I go into the
/foo/bar/oraInventory/logs/installActions2004-04-05_12-55-03PM.log and I
see:
Calling action unixActions2.2.0.6.0 make
installMakePath = /usr/ccs/bin/make installMakeFileName =
/foo/bar/OraHome2/sqlplus/lib/ins_sqlplus.mk
installTarget = install undoMakeFileName = installArguments = ORACLE_HOME=/foo/bar/OraHome2, logFile = /foo/bar/OraHome2/install/make.log undoTarget =
Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target install of makefile
/foo/bar/OraHome2/sqlplus/lib/ins_sqlplus.mk
Exception Severity: 1
I look at the file /foo/bar/OraHome2/install/make.log, where on the last lines I find:
ld: 0706-006 Cannot find or open library file: -l perfstat
ld:open(): A file or directory in the path name does not exist. make: 1254-004 The error code from the last command is 255.
(see bottom of mail for almost full transcript of this log)
I try installing the libperf package from the original installation cdrom. I put the disc 1 in the cd player, and I type (as root):
installp -a -d/dev/cd0 bos.perf.perfstat
the output says :
[...]
Already Installed
[...]
FILESET STATISTICS
1 Selected to be installed, of which:
1 Already installed (directly or via superseding filesets)
Pre-installation Failure/Warning Summary
Name Level Pre-installationFailure/Warning
Always being root, I type:
find / -name '*perfstat*'
it finds some files. Most are text files, only one (/usr/lib/perf/perfstat) is a library:
$ file /usr/lib/perf/perfstat
/usr/lib/perf/perfstat: archive (big format)
So, before being completely lost, I try copying /usr/lib/perf/perfstat
as /usr/lib/libperfstat.a, and I hit "retry" in the oracle installer.
(please )
I get an error again, but it is different (from
/foo/bar/OraHome2/install/make.log):
ld: 0711-712 ERROR: Archive member /usr/lib/libperfstat.a[perfstat64]
is stripped. The member is being ignored. make: 1254-004 The error code from the last command is 8.
Now I *am* completely lost. I don't have any idea on what I could do.
Any clue? Any kind of help from anyone?
Thank you very much in advance for every advice you'll give me. The email address in the header is working, if you want to reply by email it's ok for me.
Good bye,
Guido
[follows contents of logfile /foo/bar/OraHome2/install/make.log]
/usr/ccs/bin/make -f ins_net_client.mk ntcontab.o
ORACLE_HOME=/foo/bar/OraHome2
echo "Not generated for AIX64"
Not generated for AIX64
/usr/ccs/bin/make -f ins_net_client.mk nnfgt.o ORACLE_HOME
=/foo/bar/OraHome2
echo "Not generated for AIX64"
Not generated for AIX64
/usr/ccs/bin/make -f ins_precomp.mk links ORACLE_HOME=/foo/bar/OraHome2
(cd /foo/bar/OraHome2/precomp/public ; rm -f SQLCA.H)
[a lot of lines like that]
(cd /foo/bar/OraHome2/precomp/public ; ln -s seldsc.for
SELDSC.FOR)
/usr/ccs/bin/make -f ins_net_client.mk nnfgt.o ORACLE_HOME
=/foo/bar/OraHome2
echo "Not generated for AIX64"
Not generated for AIX64
/usr/ccs/bin/make -f ins_rdbms.mk ctx_on ORACLE_HOME=/foo/bar/OraHome2
/bin/ar -X64 cr /foo/bar/OraHome2/rdbms/lib/libknlopt.a
/foo/bar/OraHome2/rdbms/lib/kciwcx.o
[a lot of lines like that]
/usr/ccs/bin/make -f ins_net_client.mk client_sharedlib
ORACLE_HOME=/foo/bar/OraHome2
/foo/bar/OraHome2/bin/genclntsh
ld: 0706-006 Cannot find or open library file: -l perfstat
ld:open(): A file or directory in the path name does not exist.
ar: A file or directory in the path name does not exist.
ar: 0707-117 The fopen system call failed on file
/foo/bar/OraHome2/lib/shr.o.
cat: 0652-050 Cannot open /tmp/clntst9.30580/*.nm.
sort: 0653-655 Cannot open /tmp/clntst9.30580/*.objs
Usage: ar [-X{32|64|32_64|d64|any}] [-clsvCT] [-g|o] {-h|p|t|x}
[--] Archive [File ...] ar [-X{32|64|32_64|d64|any}] [-clsvCT] [-g|o] {-m|r[u]} [{-a|b|i} {PositionName}] [--] Archive File ... ar [-X{32|64|32_64|d64|any}] [-clsvCT] [-g|o] {-d|q} [--] Archive File ... ar [-X{32|64|32_64|d64|any}] [-clvCT] {-g|o|s|w} [--] Archive ar: Creating an archive file /foo/bar/OraHome2/lib/libclntst9.a.Created /foo/bar/OraHome2/lib/libclntst9.a ar: Creating an archive file /foo/bar/OraHome2/lib32/libclntst9.a. Created /foo/bar/OraHome2/lib32/libclntst9.a
/foo/bar/OraHome2/bin/genagtsh /foo/bar/OraHome2/lib/libagtsh.a
1.0
ld: 0706-006 Cannot find or open library file: -l perfstat
ld:open(): A file or directory in the path name does not exist.
ar: A file or directory in the path name does not exist.
ar: 0707-117 The fopen system call failed on file
/foo/bar/OraHome2/lib/shr.o.
/usr/ccs/bin/make -f ins_sqlplus.mk install
ORACLE_HOME=/foo/bar/OraHome2
rm -f sqlplus /bin/chmod 755 /foo/bar/OraHome2/bin/demobld /bin/chmod 755 /foo/bar/OraHome2/bin/demodrop /bin/chmod 755 /foo/bar/OraHome2/bin/helpins /bin/chmod 755 /foo/bar/OraHome2/bin/pupbld Linking sqlplus rm -f sqlplus ld -b64 -o sqlplus -L/foo/bar/OraHome2/sqlplus/lib/ -L/foo/bar/OraHome2/lib/ /foo/bar/OraHome2/sqlplus/lib/s0afimai.o -lsqlplus `cat /foo/bar/OraHome2/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /foo/bar/OraHome2/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9-lxml9 -lcore9 -lunls9 -lnls9 `cat /foo/bar/OraHome2/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat
-ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lpls9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lld -lm `cat
then echo "-bI:/foo/bar/OraHome2/lib/pw-syscall.exp"; fi;`
-lxsd9 /foo/bar/OraHome2/lib/nautab.o /foo/bar/OraHome2/lib/naeet.o
/foo/bar/OraHome2/lib/naect.o /foo/bar/OraHome2/lib/naedhs.o
/foo/bar/OraHome2/rdbms/lib/defopt.o -lpls9 -lsql9
ld: 0706-006 Cannot find or open library file: -l perfstat
ld:open(): A file or directory in the path name does not exist. make: 1254-004 The error code from the last command is 255.
Stop.
-- Posted via Mailgate.ORG Server - http://www.Mailgate.ORGReceived on Mon Apr 05 2004 - 12:43:58 CDT