TUX 8.x - Unable to build the Interceptors sample application on AIX 4.3 - CR192541 (Doc ID 775702.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle Tuxedo / Tuxedo / 8.x
Information in this document applies to any platform

Goal

DESCRIPTION:
Running Tuxedo 8.1 32-bit (RP121) on AIX 4.3 64-bit. 
Unable to build tuxedo8.1\samples\corba\interceptors_cxx application. 
Can build and boot servers in this sample, but it fails to build InterceptorSimp.so.65.

Here is the output of "gmake -f makefile.mk 2>&1 | tee build_out" command:

gmake[1]: Entering directory `.../cxx/simple_cxx'
makeC++SharedLib -bM:SRE -p 0 -T512 -h%12 -bnoentry -o makeC++InterceptorSimp.so.65 InterceptorSimp.o -L/tux81_aix/lib
-lomg -lorb
ld: 0706-006 Cannot find or open library file: -l orb
        ld:open(): No such file or directory
gmake[1]: *** [InterceptorSimp.so.65] Error 255

INFORMATION:
The best solution is to add -brtl to the AIX linker command option in aix.inc makefile so that the linker will look
for both *so or *.a libraries.  By default it ONLY looks for *.so libraries.
Note: Tuxedo 8.0/8.1's buildclient/buildserver and buildobjclient/buildobjserver tool have already been updated to
automatically add -brtl flag on AIX platform. 

Another possible way to work around this problem is documented in Solution S-20111.

CONFIGURATION:
Tuxedo 8.1 32 bit RP#121
AIX 4.3  64 bit

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms