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 ld.so.1(1). New application development need not specify -ldl.

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

dladdr dladdr1
dlclose dldump
dlerror dlinfo
dlmopen dlopen
dlsym

/lib/libdl.so.1

shared object

/lib/64/libdl.so.1

64-bit shared object

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

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level Safe

ld.so.1(1), pvs(1), Intro(3), libc(3LIB), attributes(7)

March 24, 2004 OmniOS