On Thu, May 28, 2020 at 2:53 PM IOhannes m zmölnig zmoelnig@iem.at wrote:
the more complicated part is the first one, as it requires to actually open the file that dlopen()/LoadLibrary() could not open and inspect the binary data to understand the architecture of the blob.
Perhaps getLastError() or errno would give a clue after the calls to dlopen()/LoadLibrary() fail, without needing to inspect the file. Usually there are a few different errors possible.
Martin