/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/sys-apps/pick-4.0.0/temp/--39f5c8.o: undefined reference to symbol 'setupterm' /usr/bin/x86_64-pc-linux-gnu-ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line clang-14: error: linker command failed with exit code 1 (use -v to see invocation) :3:1: error: unknown type name '__dead' __dead int dead(void); ^ :3:1: error: unknown type name '__dead2' __dead2 int dead(void); ^ :5:10: error: call to undeclared function 'wcwidth'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return !(wcwidth(c) == 0); ^ :4:10: error: call to undeclared function 'pledge'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return !(pledge("stdio", NULL) == 0); ^ :4:10: error: call to undeclared function 'strtonum'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return !(strtonum("1", 1, 2, NULL) != 0); ^