The actual problem was that opus-uninstalled.pc was forcing static linking, but not including all the relevant libraries.