macOS Big Sur dlsym(RTLD_DEFAULT, kIOMasterPortDefault): symbol not found

This worked for me from the PIO terminal in Atom. Thanks for the source environment tip!

Solved it for me - thank you very much!