IBM Support

undefined reference to `dlclose, dlopen or dlsym during compilation

Technote (troubleshooting)


This technote explains how to resolve an error [error message] that can occur in IBM Informix C-ISAM, 4GL,ESQL-C or SDK.


undefined reference to `dlclose'
undefined reference to `dlopen'
undefined reference to `dlsym'


missing -ldl flag in compile line

Resolving the problem

include the -ldl flag in compile line

Document information

More support for: Informix C-ISAM

Software version: 5.1, 7.2

Operating system(s): AIX, DYNIX/ptx, HP-UX, IRIX, Linux, Platform Independent, Solaris

Reference #: 1426961

Modified date: 15 December 2010

Translate this page: