Symptom
brconnect commands like below ones are failing with error shown:
sidadm> brconnect -u / -c -f check
sidadm> brconnect -u -c -f dbstate -RDB
brconnect: error while loading shared libraries: libnnz19.so: cannot open shared object file: No such file or directory
The ldd command shows that the file can be found in a client library:
sidadm> ldd brconnect
...
libnnz19.so => /oracle/client/11x_64/instantclient/libnnz19.so (0x00007f5b31df7000)
...
or
...
libnnz19.so => /oracle/client/19/instantclient/libnnz19.so (0x00007f1882b6f000)
...
The LD_LIBRARY_PATH contains and points to the client directory:
sidadm> echo $LD_LIBRARY_PATH
/usr/sap/SID/SYS/exe/run:/usr/sap/SID/SYS/exe/uc/linuxx86_64:/oracle/client/11x_64/instantclient
or
sidadm> echo $LD_LIBRARY_PATH
LD_LIBRARY_PATH=/usr/sap/M5D/SYS/exe/run:/usr/sap/M5D/SYS/exe/uc/linuxx86_64:/oracle/client/19x/instantclient
where the 11x_64 is a link to the 19x directory:
lrwxrwxrwx 1 sidadm sapsys 3 Apr 27 17:07 11x_64 -> 19x
Read more...
Environment
- SAP NetWeaver
- SAP Solution Manager
- UNIX/Linux Operating System
- Oracle RDBMS
- Oracle 19c Client
Keywords
client, libnnz19.so, OIC, Oracle Instant Client, brconnect, ldd, readelf -d, 19, 19c, 19x , KBA , BC-DB-ORA , Oracle , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.