My Oracle Support Banner

Relink error "0706-006 Can not find or open the library file: -l agtsh" during 11.2 installation. (Doc ID 2186114.1)

Last updated on JULY 30, 2021

Applies to:

Oracle Database Cloud Service - Version N/A and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database - Standard Edition - Version 11.2.0.1 and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

From installation log:
------------------------

INFO: - Linking dg4odbc agent

INFO: rm -f <ORACLE_HOME>/rdbms/lib/dg4odbc

INFO: ld -o -b64 <ORACLE_HOME>/rdbms/lib/dg4odbc -L <ORACLE_HOME>/ lib / -L <ORACLE_HOME>/lib/ <ORACLE_HOME>/hs/lib/dg4odbc.o <ORACLE_HOME>/ rdbms /lib /homts.o -lhgosh11 -lhggcon11 -lhgosh11 -lagtsh -lpthreads -lclntsh -brtl -lld -lm 'cat <ORACLE_HOME> / lib / sysliblist' -lm

INFO: ld: 0706-006 Can not find or open the library file: -l agtsh
ld: open (): A file or a directory path does not exist.
make: 1254-004 Error code of the last command: 255.
and
************************************************** ******************************************
INFO: - Linking HS ORACLE / OIC agent

INFO: rm -f <ORACLE_HOME>/rdbms/lib/hsalloci

INFO: ld -o -b64 <ORACLE_HOME>/rdbms/lib/hsalloci -L <ORACLE_HOME> / rdbms / lib / -L <ORACLE_HOME>/lib/ <ORACLE_HOME>/rdbms/lib/shorm.o <ORACLE_HOME>/ rdbms / lib / horm.o <ORACLE_HOME>/rdbms/lib/homts.o <ORACLE_HOME>/rdbms/ lib / hoaoci.o <ORACLE_HOME>/rdbms/lib/hsxaora.o <ORACLE_HOME>/ rdbms / lib / xaondy.o -lagtsh -lpthreads -lclntsh -brtl -lld -lm 'cat <ORACLE_HOME>/ lib / sysliblist' -lm -be: <ORACLE_HOME>/rdbms/lib/extproc.exp <ORACLE_HOME>/lib/nautab. o <ORACLE_HOME>/lib/naeet.o <ORACLE_HOME>/lib/naect.o <ORACLE_HOME>/ lib / 'cat naedhs.o <ORACLE_HOME>/ lib / ldflags' -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 'cat <ORACLE_HOME> / lib / ldflags' -lncrypt11 -lnsgr11 -lnzjs11 -ln11 - lnl11 -lnnz11 -lzt11 -lztkg11 -lztkg11 -lclient11 -lnnetd11 -lvsn11 -lcommon11 -lgeneric11 -lmm -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 - lnls11 'cat <ORACLE_HOME>/ lib / ldflags' -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -
INFO: lnro11 'cat <ORACLE_HOME>/ lib / ldflags' -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lclient11 -lnnetd11 -lvsn11 -lcommon11 -lgeneric11 -lpls11 -lrt -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lclient11 -lnnetd11 -lvsn11 -lcommon11 -lgeneric11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lld -lm
INFO: 'cat <ORACLE_HOME>/ lib / sysliblist' -lm -lpls11 -lrt -lsql11

INFO: ld: 0706-006 Can not find or open the library file: -l agtsh
ld: open (): A file or a directory path does not exist.

INFO: make: 1254-004 Error code of the last command: 255.

 



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.