Imagine that you have an application with a plugin based architecture, where each plugin is a *.so file that is dynamically loaded with dlopen(). The main application can refer to symbols via dlsym(), and so it may call functions of the plugin. How can the plugin call functions of the main application? I know that the main application could provide
Tag: dynamic-library
LD_LIBRARY_PATH failing while trying to run Qt app
I want to run a Qt 5 based application usind dynamic libraries on Linux. In summary, a script will copy the executable and other relevant files, including all required .so inside a lib folder, to the desired destination and a script calling gksudo will work as caller to the app. Till now everything works fine till I call the executable
Meaning of library dl in gcc
I’m checking a makefile, and see that the libraries used are: lcppunit is the unit testing library. What is ldl then? Answer libdl is the dynamic linking library.