For your plugin to be found by libdl:
* You must pass a full path to loadPlugin (for example: loadPlugin("./animals.so")) OR
* The plugin library must be in the path that is searched by the dynamic linker (LD_SEARCH_PATH).
If you get a segmentation fault while running your application, and it is in one
of the libdl functions, check your search paths.
Note: [#18] should add a way to specify a search directory in a platform-independent way.
Check the MSDN library page.