Info Transport GCC configuration problem on AIX

book

Article ID: 49940

calendar_today

Updated On:

Products

CA RC/Migrator CA Endevor SCM Interface DB2 Administration CA RC Compare for DB2 for z/OS CA RC Extract for DB2 for z/OS CA RC/Query CA RC Secure for DB2 for z/OS CA RC Update 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 Data Navigator for DB2 UDB for z/OS CA-DB Delivery for DB2 CA Unicenter NSM CA Log Compress DBA for DB2 Guide Online CA InfoRefiner Advantage InfoRefiner Advantage InfoRefiner Maint Upgrade CA InfoTransport Advantage InfoTransport Maint Upgrade Online Reorg for DB2 for z/OS CA RC/Update for DB2 for z/OS Query Analyzer RI Editor 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