Cannot use Swift on Linux Ubuntu 18.04

After conscientiously following the install instructions on Linux from swift.org, I encounter an issue where it is not possible to compile anything on a Ubuntu 18.04 machine. The REPL seems to work but during compilation the following error appears:
/usr/bin/ld: cannot find -lstdc++

There are more details in the full bug report [SR-9093]. I don't know at all what to do to solve this issue, there are similar problems already mentioned in other bug reports, for instance on this really old one [SR-35].

What should I do?

Thank you

getting swift to run on linux really is a dark art. i would try installing clang++ and see if that helps