split()proc that takes a string as separator?
loadXmlfor file in your case
nbindgenas it would probably automate a lot of boilerplate actions that might be the cause for "whole bunch of errors"
libdl.so and libpthread.so.? I'll try that, found those being referenced in a post online
externfunction with an unknown signature in C 😅