subprocess command failed with exit status 256

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
jherr22
Premium Member
Premium Member
Posts: 56
Joined: Mon Jan 29, 2007 3:24 pm
Location: Denver
Contact:

subprocess command failed with exit status 256

Post by jherr22 »

New Linux RH 4.5 64-bit install of Dstage Ent Edition. Could not compile jobs because by default DStage tries to use 64-bit libraries. DStage must use 32-bit b/c it is a 32-bit application.

Error:
Error when checking composite operator: Subprocess command failed with exit status 256.
Error when checking composite operator. /usr/bin/g++32 -
Error when checking composite operator. Output from subprocess: liborchi686.so when searching for -lorchi686 /usr/bin/ld: cannot find -lorchi686 collect2:

Resolution:
A) ensure that Legacy RH runtime libraries are installed - these contain 32-bit runtime libraries
B) From DataStage Administrator
1) select 'Projects' tab
2) select project
3) select 'Properties'
4) select 'Environment'
5) select 'Paralle/Compiler'
6) enter following names/values
APT_COMPILEOPT = -O -fPIC -Wno-deprecated -c -m32
APT_LINKOPT = -m32 -shared -Wl,
-Bsymbolic,--allow-shlib- undefined
APT_COMPILER = g++32
APT_LINKER = g++32
Last edited by jherr22 on Tue May 06, 2008 4:54 pm, edited 1 time in total.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Thanks for that - might mark thread as Resolved.

Except on Itanium, ALL DataStage servers are 32-bit applications (currently, anyway) and therefore must find 32-bit libraries. DataStage can not use 64-bit libraries which, more and more, are the default for database client applications.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
jherr22
Premium Member
Premium Member
Posts: 56
Joined: Mon Jan 29, 2007 3:24 pm
Location: Denver
Contact:

DStage Ent Ed server running in large prod envir on 64-bit

Post by jherr22 »

We have DStage Enterprise Edition (server) running in large production environment on 64-bit Linux RH 4.5 VMs
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Yeah, but DataStage is still a 32-bit application on Linux platforms. That situation will doubtless change one day.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply