Sorry again for the late reply,
I’m unable to reproduce the issue on my end. I’ve able to successfully compile a shared object library that uses FMOD with Emscripten 3.1.33, using the following command:
emcc -c mylibrary.c -o mylibrary.o
And compile an application that uses the shared object library using this command:
emcc -O3 consume.c fmod_reduced_wasm.a fmod_reduced_bindings.a -o index.html mylibrary.o --preload-file assets -s EXTRA_EXPORTED_RUNTIME_METHODS=[ccall,cwrap,setValue,getValue] -s INITIAL_MEMORY=67108864 -s ASYNCIFY
It’s worth noting that it appears that the FMOD library needs to be linked at the application compilation stage, and not at the library compilation stage. Are you trying to link FMOD directly to your shared library, or have you tried linking it into your application?