Originally enabling shared had something to do with another error I was getting, and all advice pointed to enabling certain flags. But after much beating my head against this, I simply followed the guide using static and it seems to be working just fine now. The other part of the issue was that I didn't understand the meanings of static and shared libraries, but have a much better understanding now, so not a total waste of time.
Bookmarks