18 October 2014
TDP SAP for Oracle 5.5 library errors
I couldn't find this error anywhere on Google, and IBM Support has been looking into it for 2 days without help. I found the workaround, it would be good to share it with community.
The errors showed up during the upgrade of TSM TDP for SAP for Oracle v5.5 to v6.3. We restored v5.5 back, deinstalled, installed, and at the end finished the errors below.
ld.so.1: tdpoconf: fatal: relocation error: file /opt/tivoli/tsm/client/oracle/bin64/tdpoconf: symbol tdpoQueryVersion: referenced symbol not found
Killed
RMAN-03009: failure of allocate command on sbt_1 channel at 10/18/2014 18:15:55
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
BKI9009W: The following products are not compatible: ESD_DataMover (5.5.0.0) and ESD_Prole (6.3.0.0).
The above links the libobk Media Management library to Oracle TDP instead of SAP. .
The errors showed up during the upgrade of TSM TDP for SAP for Oracle v5.5 to v6.3. We restored v5.5 back, deinstalled, installed, and at the end finished the errors below.
Error
When running tdpoconf or backup:ld.so.1: tdpoconf: fatal: relocation error: file /opt/tivoli/tsm/client/oracle/bin64/tdpoconf: symbol tdpoQueryVersion: referenced symbol not found
Killed
RMAN-03009: failure of allocate command on sbt_1 channel at 10/18/2014 18:15:55
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
BKI9009W: The following products are not compatible: ESD_DataMover (5.5.0.0) and ESD_Prole (6.3.0.0).
Workaround
(run as root, and make a backup first)
rm /usr/lib/libobk.so
rm /usr/lib/sparcv9/libobk.so
rm /oracle/$ORACLE_SID/112_64/lib/libobk.so
ln -s /opt/tivoli/tsm/client/oracle/bin64/libobk.so /usr/lib/libobk.so
ln -s /opt/tivoli/tsm/client/oracle/bin64/libobk.so /usr/lib/sparcv9/libobk.so
The above links the libobk Media Management library to Oracle TDP instead of SAP. .
During the TDP 6.3 install, /usr/lib/sparcv9/libobk.so got linked to SAP library /opt/tivoli/tsm/tdp_r3/ora64/libtdp_r3.so According to the documentation, that's how it is supposed to be, but either library libtdp was corrupted or documentation was wrong.