DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
India2000
Participant



Joined: 22 Aug 2010
Posts: 266

Points: 2688

Post Posted: Wed Apr 20, 2016 4:27 pm Reply with quote    Back to top    

DataStage® Release: 9x
Job Type: Parallel
OS: Unix
Hi,

I get a following error running a parallel routine and is a new routine created on:

IBM XL C/C++ for AIX, V11.1 (5724-X13)
Version: 11.01.0000.0017

Failed to load the library "V0S3_Str_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_Str_Transformer_3": rtld: 0712-001 Symbol Str__FPc was referenced from module /RT_BP2709.O/V0S3_Str_Transformer_3.o(), but a runtime definition of the symbol was not found.
rtld: 0712-002 fatal error: exiting..

Could anyone please let me know to resolve this issue?
chulett

Premium Poster


since January 2006

Group memberships:
Premium Members, Inner Circle, Server to Parallel Transition Group

Joined: 12 Nov 2002
Posts: 42163
Location: Denver, CO
Points: 216469

Post Posted: Wed Apr 20, 2016 10:00 pm Reply with quote    Back to top    

Start by doing an exact search for a unique part of your error message... I just used "either the directory containing the library file" and got almost 100 matches where people have posted the same error. I would suggest working through them, starting with the ones marked as Resolved.

_________________
-craig

Walked down by the bathing pond to try and catch some sun
Saw at least a hundred schoolgirls sobbing into handkerchiefs as one
Rate this response:  
Not yet rated
India2000
Participant



Joined: 22 Aug 2010
Posts: 266

Points: 2688

Post Posted: Thu Aug 03, 2017 9:32 pm Reply with quote    Back to top    

continuing on the same post..

this worked for simple Cpp function with no call to DS functions.

When I'm calling DS function
#include<stdio.h>
#include "/opt/.../dsapi.h"
char* projects()
{
char* prlist;
prlist=DSGetProjectList();
return prlist;
}

and after configuring the parallel routine, I get the below error:


Failed to load the library "V0S3_Job1_Tran.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_Job1_Tran": rtld: 0712-001 Symbol DSGetProjectList/opt/../InformationServer/Server/PXEngine/user_lib/libout.so was referenced
from module /opt/../InformationServer/Server/PXEngine/user_lib/libout.so(), but a runtime definition
of the symbol was not found..






Thanks,


Last edited by India2000 on Fri Aug 04, 2017 2:11 pm; edited 1 time in total
Rate this response:  
Not yet rated
chulett

Premium Poster


since January 2006

Group memberships:
Premium Members, Inner Circle, Server to Parallel Transition Group

Joined: 12 Nov 2002
Posts: 42163
Location: Denver, CO
Points: 216469

Post Posted: Fri Aug 04, 2017 6:35 am Reply with quote    Back to top    

India2000 wrote:
I cannot make any modification to dsenv as it requires DS restart.

Confused

_________________
-craig

Walked down by the bathing pond to try and catch some sun
Saw at least a hundred schoolgirls sobbing into handkerchiefs as one
Rate this response:  
Not yet rated
UCDI



Group memberships:
Premium Members

Joined: 21 Mar 2016
Posts: 261

Points: 2643

Post Posted: Fri Aug 04, 2017 1:00 pm Reply with quote    Back to top    

I have no idea what AIX needs.

This is what we use. You will need to add to it for multiple file sources of course. It may or may not be appropriate for your compile.

-O -fPIC -Wno-deprecated -m64 -mtune=generic -mcmodel=small -shared -m64 -c
Rate this response:  
Not yet rated
UCDI



Group memberships:
Premium Members

Joined: 21 Mar 2016
Posts: 261

Points: 2643

Post Posted: Mon Aug 07, 2017 9:54 am Reply with quote    Back to top    

I found out where we got that from... in director, looking at the jobs, you can see the g++ compiler settings that the datastage server is using. We apparently copied from there. If it still isnt working for you, maybe you can try that approach.
Rate this response:  
Not yet rated
India2000
Participant



Joined: 22 Aug 2010
Posts: 266

Points: 2688

Post Posted: Mon Aug 07, 2017 11:46 pm Reply with quote    Back to top    

thanks UCDI.
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours