your imgui library is declared as SHARED (ie, imgui.so) but you say your actual libimgui file is .a. So if you change it to a STATIC library, does that fix it?
your imgui library is declared as SHARED (ie, imgui.so) but you say your actual libimgui file is .a. So if you change it to a STATIC library, does that fix it?