Skip to content

How to load a shared library #22147

Discussion options

You must be logged in to vote

Is seems that get_or_create_dynamic_lib_loader doesn't load any symbols automatically. Probably, this is by design.
If you do
sym := dl_loader.get_sym('fib')!
then sym_map gets updated.

Looking at the loader.v, sym_map is being used as a cache for symbols resolved by get_sym.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Angel-del-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants