What can cause dlopen: no suitable image found (can't map)?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: What can cause the following error when loading an additional bundle using dlopen: dlopen($(OBJ_DIR)/Test-2009 12 1721 12 56.ob, 6): no suitable image found. Did find: $(OBJ_DIR)/Test-2009 12 1721 12 56.ob: can't map Before this error, the process allocates large amounts of memory. (Substituted $(OBJ_DIR) in the error for the actual path to make it more legible). 回答1: One possibility is that the shared library you're trying to open isn't actually a shared library. Run the file(1) program on your library to make sure it's actually a shared