My Oracle Support Banner

Linking Of Oracle 12c Binaries on Solaris Failed with " ld: fatal: library -ldtrace: not found" Error (Doc ID 1496746.1)

Last updated on AUGUST 11, 2021

Applies to:

Oracle Database Cloud Service - Version N/A and later
Oracle Database - Standard Edition - Version 12.1.0.1 and later
Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Solaris on SPARC (64-bit)

Symptoms

 You may receive the following error while installing the Oracle 12c binaries on Oracle Solaris on SPARC (64-bit)


INFO:  - Linking Oracle

INFO: rm -f /orahome/app/oracle/product/12.1.0.2/db_1/rdbms/lib/oracle

INFO: /usr/ccs/bin/ld   -o /orahome/app/oracle/product/12.1.0.2/db_1/rdbms/lib/oracle -L/orahome/app/oracle/product/12.1.0.2/db_1/rdbms/lib/ -L/orahome/app/oracle/product/12.1.0.2/db_1/lib/ -dy /orahome/app/oracle/product/12.1.0.2/db_1/lib/prod/lib/v9/crti.o /orahome/app/oracle/product/12.1.0.2/db_1/lib/prod/lib/v9/crt1.o  /orahome/app/oracle/product/12.1.0.2/db_1/rdbms/lib/opimai.o /orahome/app/oracle/product/12.1.0.2/db_1/rdbms/lib/ssoraed.o /orahome/app/oracle/product/12.1.0.2/db_1/rdbms/lib/ttcsoi.o  -z allex
INFO: tract -lperfsrv12 -z defaultextract /orahome/app/oracle/product/12.1.0.2/db_1/lib/nautab.o /orahome/app/oracle/product/12.1.0.2/db_1/lib/naeet.o /orahome/app/oracle/product/12.1.0.2/db_1/lib/naect.o /orahome/app/oracle/product/12.1.0.2/db_1/lib/naedhs.o /orahome/app/oracle/product/12.1.0.2/db_1/rdbms/lib/config.o  -lserver12 -lodm12 -lcell12  -lnnet12 -lskgxp12 -lclntshcore  -lsnls12 -lnls12  -lcore12 -lsnls12  -lnls12 -lcore12 -lsnls12 -lnls12 -lxml12  -lcore12 -lunls12 -lsnls12 -lnls12 -lcore12 -lnls12 -l
INFO: client12  -lvsn12  -lcommon12 -lgeneric12  -lknlopt `if /usr/ccs/bin/ar tv /orahome/app/oracle/product/12.1.0.2/db_1/rdbms/lib/libknlopt.a | grep xsyeolap.o > /dev/null 2>&1 ; then echo "-loraolap12" ; fi` -lskjcx12  -lslax12 -lpls12 -lplp12 -lserver12 -lclient12  -lvsn12  -lcommon12 -lgeneric12 `if [ -f /orahome/app/oracle/product/12.1.0.2/db_1/lib/libavserver12.a ] ; then echo "-lavserver12" ; else echo "-lavstub12"; fi` `if [ -f /orahome/app/oracle/product/12.1.0.2/db_1/lib/libavclient12.a ] ; then echo
INFO: "-lavclient12" ; fi`  -lknlopt -lslax12 -lpls12 -lplp12 -ljavavm12 -lserver12   -lwwg  `cat /orahome/app/oracle/product/12.1.0.2/db_1/lib/ldflags`    -lncrypt12 -lnsgr12 -lnzjs12 -ln12 -lnl12 -lnro12 `cat /orahome/app/oracle/product/12.1.0.2/db_1/lib/ldflags`    -lncrypt12 -lnsgr12 -lnzjs12 -ln12 -lnl12 -lnnz12 -lzt12 -lztkg12  -lmm -lsnls12 -lnls12  -lcore12 -lsnls12  -lnls12 -lcore12 -lsnls12 -lnls12 -lxml12  -lcore12 -lunls12 -lsnls12 -lnls12 -lcore12 -lnls12 -lztkg12  `cat /orahome/app/oracle/product/12
INFO: .1.0.2/db_1/lib/ldflags`    -lncrypt12 -lnsgr12 -lnzjs12 -ln12 -lnl12 -lnro12 `cat /orahome/app/oracle/product/12.1.0.2/db_1/lib/ldflags`    -lncrypt12 -lnsgr12 -lnzjs12 -ln12 -lnl12 -lnnz12 -lzt12 -lztkg12   -lsnls12 -lnls12  -lcore12 -lsnls12  -lnls12 -lcore12 -lsnls12 -lnls12 -lxml12  -lcore12 -lunls12 -lsnls12 -lnls12 -lcore12 -lnls12  `if /usr/ccs/bin/ar tv /orahome/app/oracle/product/12.1.0.2/db_1/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo12"; fi` -L
INFO: /orahome/app/oracle/product/12.1.0.2/db_1/ctx/lib/ -lctxc12 -lctx12 -lzx12 -lgx12 -lctx12 -lzx12 -lgx12 -lordimt12  -lclsra12 -ldbcfg12 -lhasgen12 -lskgxn2 -lnnz12 -lzt12 -lxml12 -locr12 -locrb12 -locrutl12  -lhasgen12 -lskgxn2 -lnnz12 -lzt12 -lxml12    -lgeneric12  -loraz -llzopro -lorabz2      -lsnls12 -lnls12  -lcore12 -lsnls12  -lnls12 -lcore12 -lsnls12 -lnls12 -lxml12  -lcore12 -lunls12 -lsnls12 -lnls12 -lcore12 -lnls12 -lsnls12 -lunls12  -lsnls12 -lnls12  -lcore12 -lsnls12  -lnls12 -lcore12 -lsnls12 -
INFO: lnls12 -lxml12  -lcore12 -lunls12 -lsnls12 -lnls12 -lcore12 -lnls12  -lasmclnt12 -lcommon12 -lcore12   -ldtrace -lons    `cat /orahome/app/oracle/product/12.1.0.2/db_1/lib/sysliblist` -R /opt/SUNWcluster/lib/sparcv9 -R/orahome/app/oracle/product/12.1.0.2/db_1/lib -R /opt/ORCLcluster/lib/  -Y P,:/opt/SUNWcluster/lib/sparcv9:/opt/ORCLcluster/lib/:/usr/ccs/lib/sparcv9:/usr/lib/sparcv9 -Qy -lm  /orahome/app/oracle/product/12.1.0.2/db_1/lib/prod/lib/v9/crtn.o -lclntshcore

INFO: ld: fatal: library -ldtrace: not found

INFO: ld: fatal: file processing errors. No output written to /orahome/app/oracle/product/12.1.0.2/db_1/rdbms/lib/oracle

INFO: *** Error code 1

INFO: make: Fatal error: Command failed for target `/orahome/app/oracle/product/12.1.0.2/db_1/rdbms/lib/oracle'

INFO: End output from spawned process.

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.