Hi ,
I wrote sample C++ routine , compiled with CC command and calling into Transformer. When i ran the job getting following error.
I am taking as external function(type) and object type as Object(Not library).Am i following in the correct way?Need help
XFMR_Matched_Trade: Failed to load the library "V2S0_Get_trades_dd_XFMR_Matched_Trade.so"; either the directory containing the library file
is not on the library search path, or the library was compiled on a system
that is incompatible with this system: Could not load "V2S0_Get_trades_dd_XFMR_Matched_Trade": ld.so.1: osh: fatal: relocation error:
file /opt/di/Ascential/DataStage/Projects/ART/RT_BP164.O/V2S0_Get_trades_dd_XFMR_Matched_Trade.so: symbol __1cFtest16Fpc_0_: referenced symbol not found.
Thanks in advance
Beeram
C++ Routine error
Moderators: chulett, rschirm, roy
Re: C++ Routine error
Just check with what version of g++ compiler you have compiled the c++ code. Because this problem comes because of incompatibility of the c++ compiler version.
Also just compile the c++ code using g++ -c <C file>.
dsusr
Also just compile the c++ code using g++ -c <C file>.
dsusr