How to find out in which library a symbol is defined (Doc ID 1011638.1)

Last updated on OCTOBER 19, 2016

Applies to:

Solaris Operating System - Version 8.0 and later
All Platforms

Goal

How do I find out where is the symbol defined ?
Error message from a compiler's final linking stage:
ild: (undefined symbol) fabs -- referenced in the text segment of /opt/informix/lib/esql/libixgen.a(rconvert.o)
ild: (undefined symbol) fabs -- referenced in the text segment of /opt/informix/lib/esql/libixgen.a(rvalcvar.o)
ild: (undefined symbol) gcvaccess -- referenced in the text segment of /opt/informix/lib/esql/libixos.a(osdnet.o)
ild: (undefined symbol) gcvaccess -- referenced in the text segment of /opt/informix/lib/esql/libixos.a(osfutil.o)
ild: (undefined symbol) gcvchdir -- referenced in the text segment of /opt/informix/lib/esql/libixos.a(osdnet.o)
ild: (undefined symbol) is8bitstr -- referenced in the text segment of /opt/informix/lib/esql/libixos.a(osenv.o)

 

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