I read the difference between dynamic loading and dynamic linking. ( Dynamic loading and Dynamic linking .) I found this helpful answer by Jeff Darcy with a combination of linking and loading
In the third type, i.e. dynamic loading, dynamic linking, where we use a function dlopen()to get a handle to this library and try to resolve characters. The object file is loaded dynamically under program control (i.e., after launch), and the characters in both the calling program and the library are resolved based on a possible unique memory layout at that time.
Can someone answer the following questions:
How dlopen()open is different (more profitable) than another method of linking to a shared library. For example: I saw that "libssl" is associated with dlopen().
What are the benefits we get. Is this only related to version control of the library?
What does he mean by "characters are resolved based on a possible unique memory location at that moment"
source
share