Page 1 of 1

subprocess command failed with exit status 256

Posted: Tue May 06, 2008 4:01 pm
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

Posted: Tue May 06, 2008 4:37 pm
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.

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

Posted: Tue May 06, 2008 4:57 pm
by jherr22
We have DStage Enterprise Edition (server) running in large production environment on 64-bit Linux RH 4.5 VMs

Posted: Tue May 06, 2008 6:22 pm
by ray.wurlod
Yeah, but DataStage is still a 32-bit application on Linux platforms. That situation will doubtless change one day.