Add a note about ELF executables requiring to be linked with -export-dynamic

for dlsym() searches inside the executable to work.
This commit is contained in:
Joseph Koshy 1999-02-17 02:41:04 +00:00
parent 64cfdfc6fb
commit f28529d798

View File

@ -219,6 +219,14 @@ The object-intrinsic functions
and
.Fn _fini
are called with no arguments, and are not expected to return values.
.Sh NOTES
ELF executables need to be linked
using the
.Fl export-dynamic
option to
.Xr ld 1
for symbols defined in the executable to become visible to
.Fn dlsym .
.Sh ERRORS
.Fn dlopen
and