Info Transport GCC configuration problem on AIX

book

Article ID: 49940

calendar_today

Updated On:

Products

CA RC Compare for DB2 for z/OS CA-24X7 High-Availability Manager for DB2 for z/OS CA-Batch Processor Compile QQF CA Data Compressor for DB2 for z/OS CA Unicenter NSM CA RC/Update for DB2 for z/OS DB2 TOOLS- DATABASE MISC CA Database Analyzer for DB2 for z/OS CA Fast Unload for DB2 for z/OS CA Fast Check for DB2 for z/OS CA Fast Index for DB2 for z/OS CA Fast Load for DB2 for z/OS CA Rapid Reorg for DB2 for z/OS

Issue/Introduction

Description:

Trying to configure CA InfoTransport on an AIX platform using gcc for the C-Compiler option encounters the gcc error stating the command is invalid.

Solution:

To use the gcc compiler to create the libdbar.so shared object on AIX, save a copy and make the following 3 changes to setlib.sh:

line    61    currently reads "RLDFLAGS="-G"     change to                                     RLDFLAGS="-Xlinker -bsvr4 -Xlinker -dy -Xlinker -berok -Xlinker -brtl -Xlinker -bnortllib -Xlinker -bnoentry -Xlinker -bM:SRE"                                                            Line    63     currently reads DYNOPT="-bdynamic"                            change to                                                                          DYNOPT=" "                                                                                                                                        Line     296    currently reads LOCALLIB="-L . -ldbsql"                      change to                                                                           LOCALIB="libdbsql.so"   

Run create_dblib.sh from the install directory.

Environment

Release:
Component: PIR