How to resolve 'ld: 0711-317 ERROR: Undefined symbol' linking messages

book

Article ID: 17048

calendar_today

Updated On:

Products

CA PanAudit Plus CA Easytrieve Report Generator CA PAN/SQL

Issue/Introduction



When linkediting a EZT DB2 user program on an AIX system, you may receive one or more of these messages:

 ld: 0711-317 ERROR: Undefined symbol: .sqlaintp_api ld: 0711-317 ERROR: Undefined symbol: .sqlastrt ld: 0711-317 ERROR: Undefined symbol: .sqlausda

How can I resolve these?

Environment

Release: EDBMSU00200-11.6-Easytrieve-Report Generator-Option for DB2-MSU
Component:

Resolution

The problem was caused by the libdb2.so missing on the EZTLIBS environment variables.
Please add the libdb2.so library on the EZTLIBS library.