Page 1 of 1

Error when using parllel routine in transformer

Posted: Sun Feb 01, 2009 11:46 pm
by swathi Singamareddygari
Hi all,

I created a c++ routine .i want to call that routine in datastage.

when i am calling the routine the job was getting aborted.

I am getting the below error.

"Transformer_1: Failed to load the library "V0S1_swathi_test_Transformer_1.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 "V0S1_swathi_test_Transformer_1": rtld: 0712-001 Symbol AlphanumConvert__FPcN21 was referenced
from module /home/dsadm/Ascential/DataStage/Projects/PHASE2_1/RT_BP1452.O/V0S1_swathi_test_Transformer_1.o(), but a runtime definition
of the symbol was not found.."


I checked the APT_COMPLIER and APT_LINKER vaiables also

I am using the same compiler as of th above variables.

can any one help me on this,its urgent

Thanks for your help.

Regards,

Swathi S

Posted: Mon Feb 02, 2009 12:39 am
by ray.wurlod
Check your library search path.

Posted: Mon Feb 02, 2009 12:52 am
by swathi Singamareddygari
Can you please tell me how to serach for library search path

Posted: Mon Feb 02, 2009 1:33 am
by kishore2456
It is the environment variable LIBPATH

Posted: Mon Feb 02, 2009 2:28 am
by swathi Singamareddygari
Hi

I checked the LIBPATH

it is

/home/dsadm/Ascential/DataStage/branded_odbc/lib:/home/dsadm/Ascential/D ataStage/DSEngine/lib:/home/dsadm/Ascential/DataStage/DSEngine/uvdlls:/home/dsad m/Ascential/DataStage/DSEngine/java/jre/bin/classic:/home/dsadm/Ascential/DataSt age/DSEngine/java/jre/bin::/home/dsadm/Ascential/DataStage/PXEngine/lib:/opt/IBM /db2/V9.1/lib:/home/dwhminst/sqllib/lib64


can you please tell me how to resolve this

Regards

Swathi S

Posted: Mon Feb 02, 2009 4:10 am
by ray.wurlod
Where is the library/object that contains your parallel routine? Is its parent directory in LIBPATH? (Other UNIX variants may use SHLIB_PATH or LD_LIBRARY_PATH as the library search list environment variable.)