Working With Dynamic Binding
When you build an application that uses dynamic binding, generally called a DLL on Windows and a shared library on UNIX, there are two main requirements:
For the build you must link to the required libraries, unless you plan to explicitly load the required libraries at run time.
To run the resulting application, the system must know the location of the dynamic libraries your application depends on.