Mhh I don't think that this is a PureBasic related error. What I see is that some library that you're using in your Purebasic code is missing some functions, but this functions should be included in your C-runtime (printf, sscanf...). You can find this error with other languages too, this seems to be a Mac specific error. If you can add this -lSystemStubs to the gcc (I just assume purebasic converts your source to some kind of c/c-- and compiles the c-code) which builds the binaries you should be fine.
Another approach that wouldn't require a rebuild of the library is to repack the library, this is only possible if the library is static and an archive.
I don't have a mac to try this, but the linux archives accept this stuff:
root@vdr:~# find /usr/lib -name "libc.a" | grep x86_64
/usr/lib/x86_64-linux-gnu/libc.a
root@vdr:~# ar t /usr/lib/x86_64-linux-gnu/libc.a |grep ^printf.o
printf.o
root@vdr:~# ar x /usr/lib/x86_64-linux-gnu/libc.a printf.o
root@vdr:~# ls -la printf.o
-rw-r--r-- 1 root root 1440 May 18 20:13 printf.o
root@vdr:~# file printf.o
printf.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
root@vdr:~# ar q libsupp.a printf.o
root@vdr:~# ar t libsupp.a | grep printf.o
printf.o
This would provide the libsupp.a (some random library I copied) with the binary routines of printf..
Viel Glück bei deiner Macspielerei