My app, which uses MOAI, crashes in a libvorbis related function on iOS. It appears that MOAI links libvorbis already with untz the other sound engine and seems to conflict with FMOD. I am guessing FMOD uses libvorbis internally and because methods are statics, there seems to be a problem at runtime.
The problem does not happen on OSX because FMOD is a dylib. On iOS, it’s a static lib file linked at compile time.
How can I fix the problem?