Unable to load redisearch on alpine based image

I’ve successfully built redisearch and run it on ubuntu. We have an alpine 3.14 based container that I’m trying to get it running on. I had to make some small changes to get it to compile (via make build). However, when I try to load the module into redis I see the following error:

Module /app/redisearch.so failed to load: Error relocating /app/redisearch.so: VecSimBatchIterator_Next: symbol not found
41:S 16 Aug 2022 10:17:52.868 # Can’t load module from /app/redisearch.so: server aborting.

I’ve tried adding an ‘extern “C”’ for that method (it wasn’t there) but it hasn’t helped. Any ideas?