custom transform routine - undefined symbol
Posted: Thu Sep 27, 2018 9:42 pm
We're working on a custom transformer routine that calls a custom C++ function. The C++ function has been compiled with the same compiler options as DataStage.
We've got the lib path in the LD_LIBRARY_PATH, and in also put in the source and include paths just in case.
The DataStage job fails at runtime with:
ProtectParamsDefaults_v1 is defined in one of the include files that is correctly referenced in our C++ program.
We are puzzled as to why the transformer won't compile, saying it can't find that symbol.
Any thoughts?
We've got the lib path in the LD_LIBRARY_PATH, and in also put in the source and include paths just in case.
The DataStage job fails at runtime with:
Code: Select all
Error when checking composite operator: Failed to load the library "V0S130_TestJob_xfm_Protect.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 "V0S130_TestJob_xfm_Protect":
/InformationServer/Server/Projects/EDW2020_DEV/RT_BP9555.O/V0S130_TestJob_xfm_Protect.so: undefined symbol: ProtectParamsDefaults_v1.
We are puzzled as to why the transformer won't compile, saying it can't find that symbol.
Any thoughts?