Creating Shared Libraries on AIX Fails With ld: 0711-317 and ld: 0711 (Doc ID 97069.1)

Last updated on JULY 05, 2017

Applies to:

Precompilers - Version 8.1.7.0 and later
Bull Escala AIX
IBM AIX on POWER Systems (64-bit)
IBM AIX on POWER Systems (32-bit)
***Checked for relevance on 28th Mar 2016***


Symptoms

You receive the following linking errors when trying to create a shared library from a Pro*C source file on AIX using the Oracle-provided makefile.

 

ld: 0711-317 ERROR: Undefined symbol: sqlca
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: The error code from the last command is 8.

Cause

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