I am getting following error while using the routine.
Transformer_15: Failed to load the library
"V0S15_SeqToDS_Transformer_15.o". 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 "V0S15_SeqToDS_Transformer_15": rtld: 0712-001 Symbol AddNumber__FiT1 was referenced from module /gcdm/dev/project/AGREE_AA/RT_BP469.O/V0S15_SeqToDS_Transformer_15.o(), but a runtime definition of the symbol was not found.
I have seen the post, and tried everything mentioned in the post as well as tried all steps mentioned in DS manager's guide--> PX routines development topic.
I used a compiler mentioned in DS Project properties to compile the C file AddNumber.c and created AddNumber.o which was with permission rwxrwxrwx.
Also as mentioned in the post, I have used $LIBPATH in parameters and set it to dir where AddNumber.o is stored as I am on AIX.
The object file when linked with normal C programs with main function it works fine. But when used in DS PX job, is giving this error. I am wondering why it is trying to refer AddNumber__FiT1 even though there no function or variable with this name in my C file.
Some additional info routine which may be useful:
Routine name: AddNumber
External routine name: AddNumber
Library path: /home/kirtis/ee/routines/AddNumber.o
Actual C code for AddNumber.c:
Code: Select all
AddNumber( int a, int b)
{
int c;
c = a + b;
return c;
}