Hi
I'm using, for the first time, an external routine written in c Language. I compile it using xlC_r compiler:
xlC_r decode.c -c
The command issued generate the object file "decode.o"
I have created an external routine, "decode", setting:
type "external routine"
object type "object"
library path ...: the path containing the file "decode.o" generated before.
I compile the job calling the routine, adding the LIBPATH env variable set with the path contaning the file "decode.o". The compilation ended without error. So I run the job and Datastage returns this message:
"Transformer_3: Failed to load the library "V0S3_Untitled11_Transformer_3.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 "V0S3_Untitled11_Transformer_3": rtld: 0712-001 Symbol Decode__FPcN31 was referenced
from module /opt/IBM/InformationServer/Server/Projects/PR_TGK_QUAL/RT_BP263.O/V0S3_Untitled11_Transformer_3.o(), but a runtime definition
of the symbol was not found.
rtld: 0712-002 fatal error: exiting.."
I have tried to search something in the forum but without receiving an help. How can I resolve this problem?
Runtime error in Job px calling an external routine
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: