libpthread is fine with static linking. Where you run into issues is libraries like libresolv that use configuration files in a specific path.