I’m in the process of applying the latest round of security patches to our environment. While patching TEST (I’ve already applied it to a sandbox and DEV environment), I hit the following error:
OPatch found the word "error" in stderr, please look into it.
You may have to run the make again.
Stderr Output (from /var/TEST/apps/tech_st/10.1.2/.patch_storage/12828135/make_local.stderr):
/usr/bin/ld: cannot find –ljava
collect2: ld returned 1 exit status
make: *** [/u01/TEST/apps/tech_st/10.1.2/sysman/lib/libnmemso.so] Error 1
make: *** [libnmemso] Error 2
I've hit a similar issue in the past, documented in post http://newappsdba.blogspot.com/2009/01/cloning-leftovers.html
The issue was with the same file:
The following line was still pointing to the source system:
I changed it to TEST, reran the patch and it completed successfully. Just a reminder that cloning doesn’t update all the necessary files.