Hi,
I have been experimenting with the Boost.DLL library and I have discovered
that the “lib” argument of either boost::dll::import_alias<>() or
boost::dll::import<>() functions require the full path to the shared
library to load. If I’m not mistaken, this functions use either the POSIX
dlopen() function or the Windows LoadLibrary() function. These platform
specific functions are capable of searching a list of paths if a non-qualified
shared library name is given.
My suggestion is to use this search capability for non-qualified shared
library names.
Kind regards,
Leo Carreon