[oraoba@our12-test ~]$ $ORACLE_HOME/appsutil/install/adlnkoh.sh
adlnkoh.sh started at Fri May 29 12:28:46 IST 2015
Log file located at /data2/OBADB/db/tech_st/11.1.0/appsutil/log/OBA_our12-test/make_05291228.log
Using make file "ins_emagent.mk" for linking SYSMAN utilities...
Error while running adlnkoh.sh.
return code = .24.25.42.43.44.46.47.50
Please check logfile located at /data2/OBADB/db/tech_st/11.1.0/appsutil/log/OBA_our12-test/make_05291228.log
[oraoba@our12-test ~]$
Error:
/usr/bin/ld: cannot find -ljava
collect2: ld returned 1 exit status
make[1]: *** [/data2/OBADB/db/tech_st/11.1.0/sysman/lib/libnmemso.so] Error 1
make[1]: Leaving directory `/data2/OBADB/db/tech_st/11.1.0/sysman/lib'
make: *** [libnmemso] Error 2
Failed linking targets agent/data2/OBADB/db/tech_st/11.1.0/sysman/lib
ins_emagent.mk:122: warning: overriding commands for target `nmosudo'
ins_emagent.mk:55: warning: ignoring old commands for target `nmosudo'
Solution:
# cp /data2/OBADB/db/tech_st/11.1.0/sysman/lib/env_emagent.mk $ORACLE_HOME/sysman/lib/env_sysman.mk.bak
# vi /data2/OBADB/db/tech_st/11.1.0/sysman/lib/env_emagent.mk
Change JRE_LIB_DIR from old location to current location.
[oraoba@our12-test ~]$ $ORACLE_HOME/appsutil/install/adlnkoh.sh
adlnkoh.sh started at Fri May 29 12:39:35 IST 2015
Log file located at /data2/OBADB/db/tech_st/11.1.0/appsutil/log/OBA_our12-test/make_05291239.log
Using make file "ins_emagent.mk" for linking SYSMAN utilities...
adlnkoh.sh completed sucessfully
[oraoba@our12-test ~]$
adlnkoh.sh started at Fri May 29 12:28:46 IST 2015
Log file located at /data2/OBADB/db/tech_st/11.1.0/appsutil/log/OBA_our12-test/make_05291228.log
Using make file "ins_emagent.mk" for linking SYSMAN utilities...
Error while running adlnkoh.sh.
return code = .24.25.42.43.44.46.47.50
Please check logfile located at /data2/OBADB/db/tech_st/11.1.0/appsutil/log/OBA_our12-test/make_05291228.log
[oraoba@our12-test ~]$
Error:
/usr/bin/ld: cannot find -ljava
collect2: ld returned 1 exit status
make[1]: *** [/data2/OBADB/db/tech_st/11.1.0/sysman/lib/libnmemso.so] Error 1
make[1]: Leaving directory `/data2/OBADB/db/tech_st/11.1.0/sysman/lib'
make: *** [libnmemso] Error 2
Failed linking targets agent/data2/OBADB/db/tech_st/11.1.0/sysman/lib
ins_emagent.mk:122: warning: overriding commands for target `nmosudo'
ins_emagent.mk:55: warning: ignoring old commands for target `nmosudo'
Solution:
# cp /data2/OBADB/db/tech_st/11.1.0/sysman/lib/env_emagent.mk $ORACLE_HOME/sysman/lib/env_sysman.mk.bak
# vi /data2/OBADB/db/tech_st/11.1.0/sysman/lib/env_emagent.mk
Change JRE_LIB_DIR from old location to current location.
[oraoba@our12-test ~]$ $ORACLE_HOME/appsutil/install/adlnkoh.sh
adlnkoh.sh started at Fri May 29 12:39:35 IST 2015
Log file located at /data2/OBADB/db/tech_st/11.1.0/appsutil/log/OBA_our12-test/make_05291239.log
Using make file "ins_emagent.mk" for linking SYSMAN utilities...
adlnkoh.sh completed sucessfully
[oraoba@our12-test ~]$
1 comment:
Thanks Thalai, the solution worked like a charm.
Post a Comment