Custom SRP / NEP compilation after upgrade of Sybase OCS config from 12_5 to 15_0 as part of ASAP upgrade from 5.2.4 to 7.0.2

(Doc ID 1430305.1)

Last updated on DECEMBER 30, 2013

Applies to:

Oracle Communications ASAP - Version 7.0.2 to 7.0.2 [Release 7.0.0]
Information in this document applies to any platform.
***Checked for relevance on 30-Dec-2013***

Goal

Upgrade from ASAP 5.2.4 to 7.0.2 in Solaris 10 platform:

As part of this upgrade, the Open Client configuration for SYBASE has been upgraded from 12_5 to 15_0.

Customized SRPs and NEPs use OCS-12_5 libraries which are not available for OCS-15_0.

Here are some of the errors that are seen while compiling:

Loading /srvrs/bh/bhdevf/programs/BMC_srp ...
/opt/sunstudio12.1/bin/CC -o /srvrs/bh/bhdevf/programs/BMC_srp -library=iostream \
SRPApplInit.o SRP_Receive.o SRPEventHandler.o SRP_Sender.o SRP_DBWo.o SRP_StatFunc.o SRP_SvctoCsdl.o SRP_Translator.o SRP_ReloadWo.o pcq.o sbt_new.o Srp_commu.o \
-L/srvrs/bh/bhdevf/objects -lnecfg -lasccomm -lsrp -linterpret -lcontrol -lasc -lascutils -ltl1_real -lsfw -lcrypto \
-L/srvrs/bh/bhdevf/LDAP/lib \
-L/u07/app/oracle/product/11.2.0/lib32 -lclntsh \
-L/srvrs/bh/bhdevf/SYBASE/OCS-15_0/OCS-12_5/lib -lsybsrv_r -lsybct_r -lsybcs_r -lsybtcl_r -lsybcomn_r -lsybintl_r -lsybunic \
-L/opt/Forte6u2/SUNWspro/lib/rw7/lib -Bstatic -lrwtool -Bdynamic \
-Bdynamic -lnsl -lrpcsvc -lsocket -lm
*** Error code 1

 

/opt/sunstudio12.1/bin/CC -o /srvrs/bh/bhdevf/programs/BMC_srp -library=iostream \
SRPApplInit.o SRP_Receive.o SRPEventHandler.o SRP_Sender.o SRP_DBWo.o SRP_StatFunc.o SRP_SvctoCsdl.o SRP_Translator.o SRP_ReloadWo.o pcq.o sbt_new.o Srp_commu.o \
-L/srvrs/bh/bhdevf/objects -lnecfg -lasccomm -lsrp -linterpret -lcontrol -lasc -lascutils -ltl1_real -lsfw -lcrypto \
-L/srvrs/bh/bhdevf/LDAP/lib \
-L/u07/app/oracle/product/11.2.0/lib32 -lclntsh \
-L/srvrs/bh/bhdevf/SYBASE/OCS-15_0/lib -lsybsrv_r -lsybct_r -lsybcs_r -lsybtcl_r -lsybcomn_r -lsybintl_r -lsybunic \
-L/opt/Forte6u2/SUNWspro/lib/rw7/lib -Bstatic -lrwtool -Bdynamic \
-Bdynamic -lnsl -lrpcsvc -lsocket -lm
ld: warning: symbol `clog' has differing types:
(file /usr/lib/libm.so type=FUNC; file /opt/sunstudio12.1/lib/sparc/libiostream.so type=OBJT);
/usr/lib/libm.so definition taken
Undefined first referenced
symbol in file
nzcsfSSP_SetSecretstorePath /srvrs/bh/bhdevf/objects/libcontrol.a(asc_security.o) (symbol belongs to implicit dependency /u07/app/oracle/product/11.2.0/lib/libnnz11.so)
nzcsfCCS_CloseCredStore /srvrs/bh/bhdevf/objects/libcontrol.a(asc_security.o) (symbol belongs to implicit dependency /u07/app/oracle/product/11.2.0/lib/libnnz11.so)
nzcsfOCS_OpenCredStore /srvrs/bh/bhdevf/objects/libcontrol.a(asc_security.o) (symbol belongs to implicit dependency /u07/app/oracle/product/11.2.0/lib/libnnz11.so)
nzcsfGCC_GetCsfCtx /srvrs/bh/bhdevf/objects/libcontrol.a(asc_security.o) (symbol belongs to implicit dependency /u07/app/oracle/product/11.2.0/lib/libnnz11.so)
nzcsfGPC_GetPwdCred /srvrs/bh/bhdevf/objects/libcontrol.a(asc_security.o) (symbol belongs to implicit dependency /u07/app/oracle/product/11.2.0/lib/libnnz11.so)
nzcsfCMC_CredMapContainsKey /srvrs/bh/bhdevf/objects/libcontrol.a(asc_security.o) (symbol belongs to implicit dependency /u07/app/oracle/product/11.2.0/lib/libnnz11.so)
nzcsfFCC_FreeCsfCtx /srvrs/bh/bhdevf/objects/libcontrol.a(asc_security.o) (symbol belongs to implicit dependency /u07/app/oracle/product/11.2.0/lib/libnnz11.so)
nzcsfGCM_GetCredMap /srvrs/bh/bhdevf/objects/libcontrol.a(asc_security.o) (symbol belongs to implicit dependency /u07/app/oracle/product/11.2.0/lib/libnnz11.so)
nzcsfGCM_FreeCredMap /srvrs/bh/bhdevf/objects/libcontrol.a(asc_security.o) (symbol belongs to implicit dependency /u07/app/oracle/product/11.2.0/lib/libnnz11.so)
nzcsfCCM_CredstoreContainsMap /srvrs/bh/bhdevf/objects/libcontrol.a(asc_security.o) (symbol belongs to implicit dependency /u07/app/oracle/product/11.2.0/lib/libnnz11.so)
nzcsfFPC_FreePwdCred /srvrs/bh/bhdevf/objects/libcontrol.a(asc_security.o) (symbol belongs to implicit dependency /u07/app/oracle/product/11.2.0/lib/libnnz11.so)
nzcsfGPI_GetPwdCredInfo /srvrs/bh/bhdevf/objects/libcontrol.a(asc_security.o) (symbol belongs to implicit dependency /u07/app/oracle/product/11.2.0/lib/libnnz11.so)
ld: fatal: Symbol referencing errors. No output written to /srvrs/bh/bhdevf/programs/BMC_srp
*** Error code 1
make: Fatal error: Command failed for target `/srvrs/bh/bhdevf/programs/BMC_srp'



Q1. Will the customized components work with ASAP 7.0.2 if they are built using OCS-12_5 libraries?

Q2. When SRP is started, why is the following error seen:


ld.so.1: BMC_srp: fatal: libsrv_r.so: open failed: No such file or directory
Failed to start Application [SRP_DEVf]


Q3. Why are there undefined symbols errors?

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms