When applying the latest PSU, I recieved the following errors from my “opatch apply” session:
Patching component oracle.odbc.ic, 220.127.116.11.0...
Make failed to invoke "/usr/bin/make -f ins_odbc.mk isqora ORACLE_HOME=/u01/app/oracle/product/18.104.22.168"....'/usr/bin/ld: cannot find -lodbcinst
collect2: error: ld returned 1 exit status
make: *** [/u01/app/oracle/product/22.214.171.124/odbc/lib/libsqora.so.12.1] Error 1
The following make actions have failed :
Re-link fails on target "isqora".
Composite patch 23054246 successfully applied.
OPatch Session completed with warnings.
Log file location: /u01/app/oracle/product/126.96.36.199/cfgtoollogs/opatch/opatch2016-07-20_23-35-27PM_1.log
OPatch completed with warnings.
The patch was applied successfully, but the relinking did not work correctly. To fix this, I did the following:
cp $ORACLE_HOME/lib/libsqora.so.12.1 $ORACLE_HOME/odbc/lib/.
That’s all there was to it.
I did the copy and relink steps because I was trying to fix the error from OPatch. A better way to handle this is to do the copy first, then run ‘opatch apply’ and you won’t get any errors at all.
I see that Bug 24332805 was posted for this issue, but I’m not privileged enough to see the contents of that bug.