Ubuntu20.04にerror: could not load the swift standard libraryの対策

エラー現象
<unknown>:0: error: could not load the swift standard library

対策
# sudo apt-get install clang libicu-dev

Setting up libtinfo-dev:amd64 (6.2-0ubuntu2) …
Setting up libstdc++-9-dev:amd64 (9.3.0-17ubuntu1~20.04) …
Setting up clang-10 (1:10.0.0-4ubuntu1) …
Setting up clang (1:10.0-50~exp1) …
Processing triggers for libc-bin (2.31-0ubuntu9.2) …
Processing triggers for systemd (245.4-4ubuntu3.4) …
Processing triggers for man-db (2.9.1-1) …
Processing triggers for install-info (6.7.0.dfsg.2-5) …

Ubuntu

Posted by arkgame