mirror of
https://github.com/opnsense/src.git
synced 2026-06-03 13:58:30 -04:00
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:
parent
64cfdfc6fb
commit
f28529d798
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue