Skip to main content

undefined reference to `dlclose, dlopen or dlsym during compilation


Technote (troubleshooting)


Problem(Abstract)

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

Symptom

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

Cause

missing -ldl flag in compile line

Resolving the problem

include the -ldl flag in compile line

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Informix C-ISAM


Software version:
5.1, 7.2


Operating system(s):
AIX, DYNIX/ptx, Digital Unix (OSF1)(TRU64), HP-UX, IRIX, Linux, Sinix, Solaris


Reference #:
1426961


Modified date:
2010-12-22

Translate my page

Content navigation