Trap Unloaded lib

Show error if shared library was not loaded.