I have C++ data.so shared object library that was compiled for linux_x86 architecture.
I would like to write my application in C++, link to the shared object library but build both of them together with web assembly as a target, I tried with Emscripten and it produces an ouput.wasm.
when dumping the wasm i get
asm-objdump -h output.wasm
0000004: error: bad magic value