I want to say you could statically link a GUI application, but I'm pretty sure libpthread doesn't cooperate on static linking.
libpthread is fine with static linking. Where you run into issues is libraries like libresolv that use configuration files in a specific path.
libpthread is fine with static linking. Where you run into issues is libraries like libresolv that use configuration files in a specific path.