That message means you're dynamically loading the library instead of statically or dynamically linking to it.
I'm not familiar with Windows, but in Linux that means you have to put the shared library in the same directory as the executable or in the directory specified by an specific environment variable; dynamically loading is unaffected by `-L`.