LIBDL(3LIB) Interface Libraries LIBDL(3LIB)

libdl - dynamic linking library

cc [ flag... ] file... -ldl [ library... ]

Historically, functions in libdl provided for dynamic linking support. This functionality now resides in libc(3LIB).

This library is maintained to provide backward compatibility for both runtime and compilation environments. The shared object is implemented as a filter on the runtime linker. See New application development need not specify -ldl.

The shared object provides the following public interfaces. See Intro(3) for additional information on shared object interfaces.

dladdr dladdr1
dlclose dldump
dlerror dlinfo
dlmopen dlopen

shared object


64-bit shared object

See attributes(5) for descriptions of the following attributes:

MT-Level Safe, pvs(1), Intro(3), libc(3LIB), attributes(5)

March 24, 2004 OmniOS