Add printing log for dlopen failure